Changeset 41126 in webkit for trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
- Timestamp:
- Feb 22, 2009, 3:26:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
r41089 r41126 58 58 emitPutJITStubArg(regT0, 1); 59 59 emitPutJITStubArgConstant(ident, 2); 60 emitCTICall( Interpreter::cti_op_get_by_id_generic);60 emitCTICall(JITStubs::cti_op_get_by_id_generic); 61 61 emitPutVirtualRegister(resultVReg); 62 62 } … … 79 79 emitPutJITStubArg(regT0, 1); 80 80 emitPutJITStubArg(regT1, 3); 81 emitCTICall( Interpreter::cti_op_put_by_id_generic);81 emitCTICall(JITStubs::cti_op_put_by_id_generic); 82 82 } 83 83 … … 135 135 emitPutJITStubArg(regT0, 1); 136 136 emitPutJITStubArgConstant(ident, 2); 137 Call call = emitCTICall( Interpreter::cti_op_get_by_id);137 Call call = emitCTICall(JITStubs::cti_op_get_by_id); 138 138 emitPutVirtualRegister(resultVReg); 139 139 … … 177 177 emitPutJITStubArg(regT0, 1); 178 178 emitPutJITStubArg(regT1, 3); 179 Call call = emitCTICall( Interpreter::cti_op_put_by_id);179 Call call = emitCTICall(JITStubs::cti_op_put_by_id); 180 180 181 181 // Track the location of the call; this will be used to recover patch information. … … 266 266 PatchBuffer patchBuffer(code); 267 267 268 patchBuffer.link(failureCall, Interpreter::cti_op_put_by_id_fail);268 patchBuffer.link(failureCall, JITStubs::cti_op_put_by_id_fail); 269 269 270 270 if (willNeedStorageRealloc) … … 279 279 { 280 280 // We don't want to patch more than once - in future go to cti_op_get_by_id_generic. 281 // Should probably go to Interpreter::cti_op_get_by_id_fail, but that doesn't do anything interesting right now.282 returnAddress.relinkCallerToFunction( Interpreter::cti_op_get_by_id_self_fail);281 // Should probably go to JITStubs::cti_op_get_by_id_fail, but that doesn't do anything interesting right now. 282 returnAddress.relinkCallerToFunction(JITStubs::cti_op_get_by_id_self_fail); 283 283 284 284 // Patch the offset into the propoerty map to load from, then patch the Structure to look for. … … 290 290 { 291 291 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 292 // Should probably go to Interpreter::cti_op_put_by_id_fail, but that doesn't do anything interesting right now.293 returnAddress.relinkCallerToFunction( Interpreter::cti_op_put_by_id_generic);292 // Should probably go to JITStubs::cti_op_put_by_id_fail, but that doesn't do anything interesting right now. 293 returnAddress.relinkCallerToFunction(JITStubs::cti_op_put_by_id_generic); 294 294 295 295 // Patch the offset into the propoerty map to load from, then patch the Structure to look for. … … 303 303 304 304 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 305 returnAddress.relinkCallerToFunction( Interpreter::cti_op_get_by_id_array_fail);305 returnAddress.relinkCallerToFunction(JITStubs::cti_op_get_by_id_array_fail); 306 306 307 307 // Check eax is an array … … 354 354 PatchBuffer patchBuffer(code); 355 355 356 patchBuffer.link(failureCases1Call, Interpreter::cti_op_get_by_id_self_fail);357 patchBuffer.link(failureCases2Call, Interpreter::cti_op_get_by_id_self_fail);356 patchBuffer.link(failureCases1Call, JITStubs::cti_op_get_by_id_self_fail); 357 patchBuffer.link(failureCases2Call, JITStubs::cti_op_get_by_id_self_fail); 358 358 359 359 stubInfo->stubRoutine = patchBuffer.entry(); … … 366 366 #if USE(CTI_REPATCH_PIC) 367 367 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 368 returnAddress.relinkCallerToFunction( Interpreter::cti_op_get_by_id_proto_list);368 returnAddress.relinkCallerToFunction(JITStubs::cti_op_get_by_id_proto_list); 369 369 370 370 // The prototype object definitely exists (if this stub exists the CodeBlock is referencing a Structure that is … … 432 432 PatchBuffer patchBuffer(code); 433 433 434 patchBuffer.link(failureCases1, Interpreter::cti_op_get_by_id_proto_fail);435 patchBuffer.link(failureCases2, Interpreter::cti_op_get_by_id_proto_fail);436 patchBuffer.link(failureCases3, Interpreter::cti_op_get_by_id_proto_fail);434 patchBuffer.link(failureCases1, JITStubs::cti_op_get_by_id_proto_fail); 435 patchBuffer.link(failureCases2, JITStubs::cti_op_get_by_id_proto_fail); 436 patchBuffer.link(failureCases3, JITStubs::cti_op_get_by_id_proto_fail); 437 437 438 438 stubInfo->stubRoutine = patchBuffer.entry(); … … 582 582 #if USE(CTI_REPATCH_PIC) 583 583 // We don't want to patch more than once - in future go to cti_op_put_by_id_generic. 584 returnAddress.relinkCallerToFunction( Interpreter::cti_op_get_by_id_proto_list);584 returnAddress.relinkCallerToFunction(JITStubs::cti_op_get_by_id_proto_list); 585 585 586 586 ASSERT(count); … … 664 664 void* code = m_assembler.executableCopy(m_codeBlock->executablePool()); 665 665 666 patchBuffer.link(bucketsOfFail, Interpreter::cti_op_get_by_id_proto_fail);666 patchBuffer.link(bucketsOfFail, JITStubs::cti_op_get_by_id_proto_fail); 667 667 668 668 stubInfo->stubRoutine = patchBuffer.entry(); … … 689 689 PatchBuffer patchBuffer(code); 690 690 691 patchBuffer.link(failureCases1Call, Interpreter::cti_op_put_by_id_fail);692 patchBuffer.link(failureCases2Call, Interpreter::cti_op_put_by_id_fail);691 patchBuffer.link(failureCases1Call, JITStubs::cti_op_put_by_id_fail); 692 patchBuffer.link(failureCases2Call, JITStubs::cti_op_put_by_id_fail); 693 693 694 694 stubInfo->stubRoutine = patchBuffer.entry();
Note:
See TracChangeset
for help on using the changeset viewer.