interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary...
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 8 Oct 2002 18:12:42 +0000 (18:12 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 8 Oct 2002 18:12:42 +0000 (18:12 +0000)
* interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
unsigned long temporary to implement insn_iushr shifts.

From-SVN: r57936

libjava/ChangeLog
libjava/interpret.cc

index f28c513a8bb3dd20579955f2862edccdc1777d01..2a2932c8b6f04a66112e1cf405ce85bf8d1f28b9 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
+       unsigned long temporary to implement insn_iushr shifts.
+
 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * configure.host [s390*-*]: Enable Java interpreter.
index d231387dc9a40b1b48ca2d6904329efcb39bb1c8..d3f919bac13314829b1fbaa4a3ae06f0b3995133 100644 (file)
@@ -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;