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:
parent
8f6d2e96a0
commit
b7932de6a1
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue