Changeset 39354 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 16, 2008, 10:30:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r39351 r39354 833 833 // we'll never reach the relevant op_profile_did_call. 834 834 if (Profiler* profiler = *Profiler::enabledProfilerReference()) { 835 #if !ENABLE(JIT) 835 836 if (isCallBytecode(codeBlock->instructions()[bytecodeOffset].u.opcode)) 836 837 profiler->didExecute(callFrame, callFrame[codeBlock->instructions()[bytecodeOffset + 2].u.operand].jsValue(callFrame)); 837 838 else if (codeBlock->instructions()[bytecodeOffset + 8].u.opcode == getOpcode(op_construct)) 838 839 profiler->didExecute(callFrame, callFrame[codeBlock->instructions()[bytecodeOffset + 10].u.operand].jsValue(callFrame)); 840 #else 841 int functionRegisterIndex; 842 if (codeBlock->functionRegisterForBytecodeOffset(bytecodeOffset, functionRegisterIndex)) 843 profiler->didExecute(callFrame, callFrame[functionRegisterIndex].jsValue(callFrame)); 844 #endif 839 845 } 840 846
Note:
See TracChangeset
for help on using the changeset viewer.