This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [JAVA] don't use UINT32 and UINT64 in interpret.cc
- From: Paolo Bonzini <paolo dot bonzini at polimi dot it>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 17:31:10 +0200
- Subject: [PATCH] [JAVA] don't use UINT32 and UINT64 in interpret.cc
- Reply-to: bonzini at gnu dot org
These are meant to be private in libffi. Only ffi_* or FFI_*
identifiers are public.
Paolo
2003-10-14 Paolo Bonzini <bonzini@gnu.org>
* libjava/interpret.cc (_Jv_InterpMethod::run): don't
use libffi types, they were meant to be internal.
Index: gcc/libjava/interpret.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/interpret.cc,v
retrieving revision 1.39
diff -u -r1.39 interpret.cc
--- gcc/libjava/interpret.cc 24 Jan 2003 19:58:21 -0000 1.39
+++ gcc/libjava/interpret.cc 14 Oct 2003 13:16:46 -0000
@@ -1898,7 +1898,7 @@
insn_iushr:
{
jint shift = (POPI() & 0x1f);
- UINT32 value = (UINT32) POPI();
+ unsigned int value = (unsigned int) POPI();
PUSHI ((jint) (value >> shift));
}
NEXT_INSN;
@@ -1906,8 +1906,8 @@
insn_lushr:
{
jint shift = (POPI() & 0x3f);
- UINT64 value = (UINT64) POPL();
- PUSHL ((value >> shift));
+ unsigned long long value = (unsigned long long) POPL();
+ PUSHL ((jlong) (value >> shift));
}
NEXT_INSN;