diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-14 17:53:42 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-14 17:53:42 +0000 |
commit | c30dcdf99f3043aa775cb6e03d94abf22ac14d85 (patch) | |
tree | a938b437da289bf036591ace817369ab6e8e2264 /libjava/interpret.cc | |
parent | a8f495a42c38e49200859721643f9502221e85c4 (diff) | |
download | gcc-c30dcdf99f3043aa775cb6e03d94abf22ac14d85.tar.gz |
2003-10-14 Paolo Bonzini <bonzini@gnu.org>
* interpret.cc (_Jv_InterpMethod::run): Don't
use libffi types, they were meant to be internal.
* gcj/javaprims.h (_Jv_ulong): New typedef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc index 43d627921fb..5fd2c2b5869 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -1898,7 +1898,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args) insn_iushr: { jint shift = (POPI() & 0x1f); - UINT32 value = (UINT32) POPI(); + _Jv_uint value = (_Jv_uint) POPI(); PUSHI ((jint) (value >> shift)); } NEXT_INSN; @@ -1906,8 +1906,8 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args) insn_lushr: { jint shift = (POPI() & 0x3f); - UINT64 value = (UINT64) POPL(); - PUSHL ((value >> shift)); + _Jv_ulong value = (_Jv_ulong) POPL(); + PUSHL ((jlong) (value >> shift)); } NEXT_INSN; |