Changeset 187750 in webkit for trunk/Source/JavaScriptCore/jit/JITOperations.cpp
- Timestamp:
- Aug 3, 2015, 12:25:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOperations.cpp
r187515 r187750 1510 1510 } 1511 1511 1512 EncodedJSValue JIT_OPERATION operationGetByVal Default(ExecState* exec, EncodedJSValue encodedBase, EncodedJSValue encodedSubscript, ArrayProfile* arrayProfile)1512 EncodedJSValue JIT_OPERATION operationGetByValOptimize(ExecState* exec, EncodedJSValue encodedBase, EncodedJSValue encodedSubscript, ArrayProfile* arrayProfile) 1513 1513 { 1514 1514 VM& vm = exec->vm(); … … 1644 1644 else { 1645 1645 result = baseValue.get(exec, i); 1646 if (!isJSString(baseValue)) 1647 ctiPatchCallByReturnAddress(exec->codeBlock(), ReturnAddressPtr(OUR_RETURN_ADDRESS), FunctionPtr(operationGetByValDefault)); 1646 if (!isJSString(baseValue)) { 1647 unsigned bytecodeOffset = exec->locationAsBytecodeOffset(); 1648 ASSERT(bytecodeOffset); 1649 ByValInfo& byValInfo = exec->codeBlock()->getByValInfo(bytecodeOffset - 1); 1650 ctiPatchCallByReturnAddress(exec->codeBlock(), ReturnAddressPtr(OUR_RETURN_ADDRESS), FunctionPtr(byValInfo.stubRoutine ? operationGetByValGeneric : operationGetByValOptimize)); 1651 } 1648 1652 } 1649 1653 } else {
Note:
See TracChangeset
for help on using the changeset viewer.