Changeset 40562 in webkit for trunk/JavaScriptCore/jit/JITCall.cpp
- Timestamp:
- Feb 3, 2009, 6:02:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITCall.cpp
r40232 r40562 134 134 135 135 emitCTICall(Interpreter::cti_op_call_eval); 136 wasEval = jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsImpossibleValue())));136 wasEval = branchPtr(NotEqual, X86::eax, ImmPtr(JSValuePtr::encode(jsImpossibleValue()))); 137 137 } 138 138 … … 146 146 // Check for JSFunctions. 147 147 emitJumpSlowCaseIfNotJSCell(X86::ecx); 148 addSlowCase( jnePtr(Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr)));148 addSlowCase(branchPtr(NotEqual, Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr))); 149 149 150 150 // First, in the case of a construct, allocate the new object. … … 208 208 209 209 emitCTICall(Interpreter::cti_op_call_eval); 210 wasEval = jnePtr(X86::eax, ImmPtr(JSValuePtr::encode(jsImpossibleValue())));210 wasEval = branchPtr(NotEqual, X86::eax, ImmPtr(JSValuePtr::encode(jsImpossibleValue()))); 211 211 } 212 212 … … 215 215 emitGetVirtualRegister(callee, X86::ecx); 216 216 DataLabelPtr addressOfLinkedFunctionCheck; 217 Jump jumpToSlow = jnePtrWithPatch(X86::ecx, addressOfLinkedFunctionCheck, ImmPtr(JSValuePtr::encode(jsImpossibleValue())));217 Jump jumpToSlow = branchPtrWithPatch(NotEqual, X86::ecx, addressOfLinkedFunctionCheck, ImmPtr(JSValuePtr::encode(jsImpossibleValue()))); 218 218 addSlowCase(jumpToSlow); 219 219 ASSERT(differenceBetween(addressOfLinkedFunctionCheck, jumpToSlow) == patchOffsetOpCallCompareToJump); … … 273 273 // Fast check for JS function. 274 274 Jump callLinkFailNotObject = emitJumpIfNotJSCell(X86::ecx); 275 Jump callLinkFailNotJSFunction = jnePtr(Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr));275 Jump callLinkFailNotJSFunction = branchPtr(NotEqual, Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr)); 276 276 277 277 // First, in the case of a construct, allocate the new object. … … 305 305 // Check for JSFunctions. 306 306 Jump isNotObject = emitJumpIfNotJSCell(X86::ecx); 307 Jump isJSFunction = jePtr(Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr));307 Jump isJSFunction = branchPtr(Equal, Address(X86::ecx), ImmPtr(m_interpreter->m_jsFunctionVptr)); 308 308 309 309 // This handles host functions
Note:
See TracChangeset
for help on using the changeset viewer.