Changeset 193471 in webkit for trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp
- Timestamp:
- Dec 4, 2015, 2:28:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp
r192937 r193471 402 402 } 403 403 404 void JIT::emit_op_bitxor(Instruction* currentInstruction)405 {406 emitGetVirtualRegisters(currentInstruction[2].u.operand, regT0, currentInstruction[3].u.operand, regT1);407 emitJumpSlowCaseIfNotInt(regT0, regT1, regT2);408 xor64(regT1, regT0);409 emitTagInt(regT0, regT0);410 emitPutVirtualRegister(currentInstruction[1].u.operand);411 }412 413 void JIT::emit_op_bitor(Instruction* currentInstruction)414 {415 emitGetVirtualRegisters(currentInstruction[2].u.operand, regT0, currentInstruction[3].u.operand, regT1);416 emitJumpSlowCaseIfNotInt(regT0, regT1, regT2);417 or64(regT1, regT0);418 emitPutVirtualRegister(currentInstruction[1].u.operand);419 }420 421 404 void JIT::emit_op_throw(Instruction* currentInstruction) 422 405 { … … 818 801 callOperation(operationConvertJSValueToBoolean, regT0); 819 802 emitJumpSlowToHot(branchTest32(NonZero, returnValueGPR), currentInstruction[2].u.operand); 820 }821 822 void JIT::emitSlow_op_bitxor(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter)823 {824 linkSlowCase(iter);825 JITSlowPathCall slowPathCall(this, currentInstruction, slow_path_bitxor);826 slowPathCall.call();827 }828 829 void JIT::emitSlow_op_bitor(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter)830 {831 linkSlowCase(iter);832 JITSlowPathCall slowPathCall(this, currentInstruction, slow_path_bitor);833 slowPathCall.call();834 803 } 835 804
Note:
See TracChangeset
for help on using the changeset viewer.