diff options
author | simonis <none@none> | 2013-11-19 11:53:58 -0800 |
---|---|---|
committer | simonis <none@none> | 2013-11-19 11:53:58 -0800 |
commit | b3950dff20d8606b81cc4e24fa9845ab48580c09 (patch) | |
tree | adba879e3e4b9c65bc5e92fea60c77b82a3439b7 /src/cpu/x86/vm/bytecodeInterpreter_x86.hpp | |
parent | aa4637846184077178b8dda381964919ed05bb08 (diff) |
8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
Summary: fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build
Reviewed-by: kvn, dholmes, lfoltan
Diffstat (limited to 'src/cpu/x86/vm/bytecodeInterpreter_x86.hpp')
-rw-r--r-- | src/cpu/x86/vm/bytecodeInterpreter_x86.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp b/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp index e4eaa7512..2538b4ef4 100644 --- a/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp +++ b/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp @@ -94,7 +94,7 @@ inline intptr_t* sender_sp() { #define LOCALS_ADDR(offset) ((address)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_OBJECT(offset) (cast_to_oop(locals[-(offset)])) #define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d) #define LOCALS_LONG(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->l) #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)])) |