interpret.cc (_Jv_InterpMethod::run): Don't use libffi types, they were meant to be internal.

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.

From-SVN: r72482
This commit is contained in:
Paolo Bonzini
2003-10-14 17:53:42 +00:00
committed by Tom Tromey
parent 4f22de0337
commit 415c96ca6a
3 changed files with 10 additions and 3 deletions
+3 -3
View File
@@ -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;