Changeset 162718 in webkit for trunk/Source/JavaScriptCore/jit
- Timestamp:
- Jan 24, 2014, 1:23:17 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore/jit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp
r162711 r162718 887 887 void JIT::emit_op_profile_will_call(Instruction* currentInstruction) 888 888 { 889 Jump profilerDone = branchTestPtr(Zero, AbsoluteAddress(m_vm->enabledProfilerAddress())); 889 890 emitGetVirtualRegister(currentInstruction[1].u.operand, regT0); 890 891 callOperation(operationProfileWillCall, regT0); 892 profilerDone.link(this); 891 893 } 892 894 893 895 void JIT::emit_op_profile_did_call(Instruction* currentInstruction) 894 896 { 897 Jump profilerDone = branchTestPtr(Zero, AbsoluteAddress(m_vm->enabledProfilerAddress())); 895 898 emitGetVirtualRegister(currentInstruction[1].u.operand, regT0); 896 899 callOperation(operationProfileDidCall, regT0); 900 profilerDone.link(this); 897 901 } 898 902 -
trunk/Source/JavaScriptCore/jit/JITOpcodes32_64.cpp
r162711 r162718 1115 1115 void JIT::emit_op_profile_will_call(Instruction* currentInstruction) 1116 1116 { 1117 load32(m_vm->enabledProfilerAddress(), regT0); 1118 Jump profilerDone = branchTestPtr(Zero, regT0); 1117 1119 emitLoad(currentInstruction[1].u.operand, regT1, regT0); 1118 1120 callOperation(operationProfileWillCall, regT1, regT0); 1121 profilerDone.link(this); 1119 1122 } 1120 1123 1121 1124 void JIT::emit_op_profile_did_call(Instruction* currentInstruction) 1122 1125 { 1126 load32(m_vm->enabledProfilerAddress(), regT0); 1127 Jump profilerDone = branchTestPtr(Zero, regT0); 1123 1128 emitLoad(currentInstruction[1].u.operand, regT1, regT0); 1124 1129 callOperation(operationProfileDidCall, regT1, regT0); 1130 profilerDone.link(this); 1125 1131 } 1126 1132
Note:
See TracChangeset
for help on using the changeset viewer.