--- old/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Mon Apr 14 17:24:30 2008 +++ new/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Mon Apr 14 17:24:30 2008 @@ -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)