Changeset 43441 in webkit for trunk/JavaScriptCore
- Timestamp:
- May 9, 2009, 3:05:34 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r43440 r43441 1 2009-05-09 Geoffrey Garen <[email protected]> 2 3 Reviewed by Cameron Zwarich. 4 5 Removed the last non-call-related manually managed JIT stub call. 6 7 * jit/JITArithmetic.cpp: 8 (JSC::JIT::compileFastArithSlow_op_rshift): Fully use the JITStubCall 9 abstraction, instead of emitPutJITStubArg. 10 1 11 2009-05-09 Sebastian Andrzej Siewior <[email protected]> 2 12 -
trunk/JavaScriptCore/jit/JITArithmetic.cpp
r43439 r43441 189 189 emitPutVirtualRegister(result); 190 190 } 191 191 192 void JIT::compileFastArithSlow_op_rshift(unsigned result, unsigned op1, unsigned op2, Vector<SlowCaseEntry>::iterator& iter) 192 193 { 193 194 linkSlowCase(iter); 194 if (isOperandConstantImmediateInt(op2)) 195 emitPutJITStubArgFromVirtualRegister(op2, 2, regT2); 196 else { 195 JITStubCall stubCall(this, JITStubs::cti_op_rshift); 196 197 if (isOperandConstantImmediateInt(op2)) { 198 stubCall.addArgument(regT0); 199 stubCall.addArgument(op2, regT2); 200 } else { 197 201 if (isSSE2Present()) { 198 202 #if USE(ALTERNATE_JSIMMEDIATE) … … 207 211 // we have not munged the operand. It may have already been shifted 208 212 // correctly, but it still will not have been tagged. 209 emitGetVirtualRegister(op1, regT0); 213 stubCall.addArgument(op1, regT0); 214 stubCall.addArgument(regT2); 210 215 } else { 211 216 linkSlowCase(iter); 212 217 linkSlowCase(iter); 213 } 214 emitPutJITStubArg(regT2, 2); 215 } 216 217 JITStubCall stubCall(this, JITStubs::cti_op_rshift); 218 stubCall.addArgument(regT0); 218 stubCall.addArgument(regT0); 219 stubCall.addArgument(regT2); 220 } 221 } 222 219 223 stubCall.call(result); 220 224 }
Note:
See TracChangeset
for help on using the changeset viewer.