src/cpu/x86/vm/bytecodeInterpreter_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/cpu/x86/vm/bytecodeInterpreter_x86.inline.hpp	Mon Jan 12 10:51:06 2009
--- new/src/cpu/x86/vm/bytecodeInterpreter_x86.inline.hpp	Mon Jan 12 10:51:05 2009

*** 211,221 **** --- 211,221 ---- return op1 & op2; } inline jint BytecodeInterpreter::VMintDiv(jint op1, jint op2) { /* it's possible we could catch this special case implicitly */ ! if ((juint)op1 == 0x80000000 && op2 == -1) return op1; else return op1 / op2; } inline jint BytecodeInterpreter::VMintMul(jint op1, jint op2) { return op1 * op2;
*** 229,239 **** --- 229,239 ---- return op1 | op2; } inline jint BytecodeInterpreter::VMintRem(jint op1, jint op2) { /* it's possible we could catch this special case implicitly */ ! if ((juint)op1 == 0x80000000 && op2 == -1) return 0; else return op1 % op2; } inline jint BytecodeInterpreter::VMintShl(jint op1, jint op2) { return op1 << op2;

src/cpu/x86/vm/bytecodeInterpreter_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File