diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-10-08 18:12:42 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-10-08 18:12:42 +0000 |
commit | b7932de6a1df9f98fff676ec00e67f9cfd806794 (patch) | |
tree | 563ef9617bea7c00ea2ef0e0b77936b842c6d6ca /libjava | |
parent | 8f6d2e96a073f0a84055ac859416dcdcda11db33 (diff) | |
download | gcc-b7932de6a1df9f98fff676ec00e67f9cfd806794.zip gcc-b7932de6a1df9f98fff676ec00e67f9cfd806794.tar.gz gcc-b7932de6a1df9f98fff676ec00e67f9cfd806794.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/interpret.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f28c513..2a2932c 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 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. Enable hash synchronization. Add sysdeps dir. * sysdep/s390/locks.h: New file. diff --git a/libjava/interpret.cc b/libjava/interpret.cc index d231387..d3f919b 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -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; |