* 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
+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.
+
2003-10-13 Tom Tromey <tromey@redhat.com>
* java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
typedef unsigned short _Jv_ushort __attribute__((__mode__(__HI__)));
typedef unsigned int _Jv_uint __attribute__((__mode__(__SI__)));
+typedef unsigned int _Jv_ulong __attribute__((__mode__(__DI__)));
struct _Jv_Utf8Const
{
insn_iushr:
{
jint shift = (POPI() & 0x1f);
- UINT32 value = (UINT32) POPI();
+ _Jv_uint value = (_Jv_uint) POPI();
PUSHI ((jint) (value >> shift));
}
NEXT_INSN;
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;