Changeset 39342 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 16, 2008, 4:03:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r39329 r39342 4052 4052 #if ENABLE(JIT) 4053 4053 4054 #if ENABLE(JIT_OPTIMIZE_PROPERTY_ACCESS) 4055 4054 4056 NEVER_INLINE void Interpreter::tryCTICachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, void* returnAddress, JSValue* baseValue, const PutPropertySlot& slot) 4055 4057 { … … 4202 4204 JIT::compileGetByIdChain(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, structure, chain, count, slot.cachedOffset(), returnAddress); 4203 4205 } 4206 4207 #endif 4204 4208 4205 4209 #ifndef NDEBUG … … 4431 4435 } 4432 4436 4437 void Interpreter::cti_op_put_by_id_generic(CTI_ARGS) 4438 { 4439 CTI_STACK_HACK(); 4440 4441 PutPropertySlot slot; 4442 ARG_src1->put(ARG_callFrame, *ARG_id2, ARG_src3, slot); 4443 CHECK_FOR_EXCEPTION_AT_END(); 4444 } 4445 4446 JSValue* Interpreter::cti_op_get_by_id_generic(CTI_ARGS) 4447 { 4448 CTI_STACK_HACK(); 4449 4450 CallFrame* callFrame = ARG_callFrame; 4451 Identifier& ident = *ARG_id2; 4452 4453 JSValue* baseValue = ARG_src1; 4454 PropertySlot slot(baseValue); 4455 JSValue* result = baseValue->get(callFrame, ident, slot); 4456 4457 CHECK_FOR_EXCEPTION_AT_END(); 4458 return result; 4459 } 4460 4461 #if ENABLE(JIT_OPTIMIZE_PROPERTY_ACCESS) 4462 4433 4463 void Interpreter::cti_op_put_by_id(CTI_ARGS) 4434 4464 { … … 4456 4486 } 4457 4487 4458 void Interpreter::cti_op_put_by_id_generic(CTI_ARGS)4459 {4460 CTI_STACK_HACK();4461 4462 PutPropertySlot slot;4463 ARG_src1->put(ARG_callFrame, *ARG_id2, ARG_src3, slot);4464 CHECK_FOR_EXCEPTION_AT_END();4465 }4466 4467 4488 void Interpreter::cti_op_put_by_id_fail(CTI_ARGS) 4468 4489 { … … 4507 4528 4508 4529 ARG_globalData->interpreter->tryCTICacheGetByID(callFrame, callFrame->codeBlock(), CTI_RETURN_ADDRESS, baseValue, ident, slot); 4509 4510 CHECK_FOR_EXCEPTION_AT_END();4511 return result;4512 }4513 4514 JSValue* Interpreter::cti_op_get_by_id_generic(CTI_ARGS)4515 {4516 CTI_STACK_HACK();4517 4518 CallFrame* callFrame = ARG_callFrame;4519 Identifier& ident = *ARG_id2;4520 4521 JSValue* baseValue = ARG_src1;4522 PropertySlot slot(baseValue);4523 JSValue* result = baseValue->get(callFrame, ident, slot);4524 4530 4525 4531 CHECK_FOR_EXCEPTION_AT_END(); … … 4711 4717 } 4712 4718 4719 #endif 4720 4713 4721 JSValue* Interpreter::cti_op_instanceof(CTI_ARGS) 4714 4722 {
Note:
See TracChangeset
for help on using the changeset viewer.