--- a/hotspot/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Wed Apr 16 19:19:48 2008 -0700
+++ b/hotspot/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Thu Apr 17 07:16:03 2008 -0700
@@ -78,7 +78,7 @@
#define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)])
#define LOCALS_ADDR(offset) ((address)locals[-(offset)])
-#define LOCALS_INT(offset) ((jint)(locals[-(offset)]))
+#define LOCALS_INT(offset) (*((jint*)&locals[-(offset)]))
#define LOCALS_FLOAT(offset) (*((jfloat*)&locals[-(offset)]))
#define LOCALS_OBJECT(offset) ((oop)locals[-(offset)])
#define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d)