Changeset 44455 in webkit for trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
- Timestamp:
- Jun 5, 2009, 12:55:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
r44412 r44455 492 492 PatchBuffer patchBuffer(this, m_codeBlock->executablePool()); 493 493 494 patchBuffer.link(failureCall, JITStubs::cti_op_put_by_id_fail);494 patchBuffer.link(failureCall, FunctionPtr(JITStubs::cti_op_put_by_id_fail)); 495 495 496 496 if (willNeedStorageRealloc) { 497 497 ASSERT(m_calls.size() == 1); 498 patchBuffer.link(m_calls[0].from, JITStubs::cti_op_put_by_id_transition_realloc);498 patchBuffer.link(m_calls[0].from, FunctionPtr(JITStubs::cti_op_put_by_id_transition_realloc)); 499 499 } 500 500 … … 508 508 // We don't want to patch more than once - in future go to cti_op_get_by_id_generic. 509 509 // Should probably go to JITStubs::cti_op_get_by_id_fail, but that doesn't do anything interesting right now. 510 returnAddress.relinkCallerToFunction( JITStubs::cti_op_get_by_id_self_fail);510 returnAddress.relinkCallerToFunction(FunctionPtr(JITStubs::cti_op_get_by_id_self_fail)); 511 511 512 512 int offset = sizeof(JSValue) * cachedOffset; … … 538 538 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 539 539 // Should probably go to JITStubs::cti_op_put_by_id_fail, but that doesn't do anything interesting right now. 540 returnAddress.relinkCallerToFunction( JITStubs::cti_op_put_by_id_generic);540 returnAddress.relinkCallerToFunction(FunctionPtr(JITStubs::cti_op_put_by_id_generic)); 541 541 542 542 int offset = sizeof(JSValue) * cachedOffset; … … 554 554 void JIT::privateCompilePatchGetArrayLength(ProcessorReturnAddress returnAddress) 555 555 { 556 StructureStubInfo* stubInfo = &m_codeBlock->getStubInfo(returnAddress );556 StructureStubInfo* stubInfo = &m_codeBlock->getStubInfo(returnAddress.addressForLookup()); 557 557 558 558 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 559 returnAddress.relinkCallerToFunction( JITStubs::cti_op_get_by_id_array_fail);559 returnAddress.relinkCallerToFunction(FunctionPtr(JITStubs::cti_op_get_by_id_array_fail)); 560 560 561 561 // Check eax is an array … … 593 593 { 594 594 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 595 returnAddress.relinkCallerToFunction( JITStubs::cti_op_get_by_id_proto_list);595 returnAddress.relinkCallerToFunction(FunctionPtr(JITStubs::cti_op_get_by_id_proto_list)); 596 596 597 597 // The prototype object definitely exists (if this stub exists the CodeBlock is referencing a Structure that is … … 763 763 { 764 764 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 765 returnAddress.relinkCallerToFunction( JITStubs::cti_op_get_by_id_proto_list);765 returnAddress.relinkCallerToFunction(FunctionPtr(JITStubs::cti_op_get_by_id_proto_list)); 766 766 767 767 ASSERT(count);
Note:
See TracChangeset
for help on using the changeset viewer.