1.1 --- a/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp Sat Nov 16 01:42:55 2013 +0100 1.2 +++ b/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp Tue Nov 19 11:53:58 2013 -0800 1.3 @@ -94,7 +94,7 @@ 1.4 #define LOCALS_ADDR(offset) ((address)locals[-(offset)]) 1.5 #define LOCALS_INT(offset) ((jint)(locals[-(offset)])) 1.6 #define LOCALS_FLOAT(offset) (*((jfloat*)&locals[-(offset)])) 1.7 -#define LOCALS_OBJECT(offset) ((oop)locals[-(offset)]) 1.8 +#define LOCALS_OBJECT(offset) (cast_to_oop(locals[-(offset)])) 1.9 #define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d) 1.10 #define LOCALS_LONG(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->l) 1.11 #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)]))