Changeset 49004 in webkit for trunk/JavaScriptCore/jit/JITCall.cpp
- Timestamp:
- Oct 1, 2009, 4:32:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITCall.cpp
r47614 r49004 237 237 int registerOffset = instruction[4].u.operand; 238 238 239 Jump wasEval1; 240 Jump wasEval2; 239 Jump wasEval; 241 240 if (opcodeID == op_call_eval) { 242 241 JITStubCall stubCall(this, cti_op_call_eval); … … 245 244 stubCall.addArgument(JIT::Imm32(argCount)); 246 245 stubCall.call(); 247 wasEval1 = branchTest32(NonZero, regT0); 248 wasEval2 = branch32(NotEqual, regT1, Imm32(JSValue::CellTag)); 246 wasEval = branch32(Equal, regT1, Imm32(JSValue::EmptyValueTag)); 249 247 } 250 248 … … 272 270 emitNakedCall(m_globalData->jitStubs.ctiVirtualCall()); 273 271 274 if (opcodeID == op_call_eval) { 275 wasEval1.link(this); 276 wasEval2.link(this); 277 } 272 if (opcodeID == op_call_eval) 273 wasEval.link(this); 278 274 279 275 emitStore(dst, regT1, regT0);; … … 307 303 int registerOffset = instruction[4].u.operand; 308 304 309 Jump wasEval1; 310 Jump wasEval2; 305 Jump wasEval; 311 306 if (opcodeID == op_call_eval) { 312 307 JITStubCall stubCall(this, cti_op_call_eval); … … 315 310 stubCall.addArgument(JIT::Imm32(argCount)); 316 311 stubCall.call(); 317 wasEval1 = branchTest32(NonZero, regT0); 318 wasEval2 = branch32(NotEqual, regT1, Imm32(JSValue::CellTag)); 312 wasEval = branch32(NotEqual, regT1, Imm32(JSValue::EmptyValueTag)); 319 313 } 320 314 … … 360 354 m_callStructureStubCompilationInfo[callLinkInfoIndex].hotPathOther = emitNakedCall(); 361 355 362 if (opcodeID == op_call_eval) { 363 wasEval1.link(this); 364 wasEval2.link(this); 365 } 356 if (opcodeID == op_call_eval) 357 wasEval.link(this); 366 358 367 359 // Put the return value in dst. In the interpreter, op_ret does this.
Note:
See TracChangeset
for help on using the changeset viewer.