interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts.
* interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. From-SVN: r57936
This commit is contained in:
committed by
Ulrich Weigand
parent
8f6d2e96a0
commit
b7932de6a1
@@ -1883,7 +1883,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args)
|
||||
insn_iushr:
|
||||
{
|
||||
jint shift = (POPI() & 0x1f);
|
||||
unsigned long value = POPI();
|
||||
UINT32 value = (UINT32) POPI();
|
||||
PUSHI ((jint) (value >> shift));
|
||||
}
|
||||
NEXT_INSN;
|
||||
|
||||
Reference in New Issue
Block a user