comparison src/cpu/zero/vm/bytecodeInterpreter_zero.hpp @ 6048:018b357638aa

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
author simonis
date Tue, 19 Nov 2013 11:53:58 -0800
parents da91efe96a93
children
comparison
equal deleted inserted replaced
4:ba57319e12f4 5:e03d975ecc12
130 130
131 #define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)]) 131 #define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)])
132 #define LOCALS_ADDR(offset) ((address)locals[-(offset)]) 132 #define LOCALS_ADDR(offset) ((address)locals[-(offset)])
133 #define LOCALS_INT(offset) (*((jint*)&locals[-(offset)])) 133 #define LOCALS_INT(offset) (*((jint*)&locals[-(offset)]))
134 #define LOCALS_FLOAT(offset) (*((jfloat*)&locals[-(offset)])) 134 #define LOCALS_FLOAT(offset) (*((jfloat*)&locals[-(offset)]))
135 #define LOCALS_OBJECT(offset) ((oop)locals[-(offset)]) 135 #define LOCALS_OBJECT(offset) (cast_to_oop(locals[-(offset)]))
136 #define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d) 136 #define LOCALS_DOUBLE(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->d)
137 #define LOCALS_LONG(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->l) 137 #define LOCALS_LONG(offset) (((VMJavaVal64*)&locals[-((offset) + 1)])->l)
138 #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)])) 138 #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)]))
139 #define LOCALS_DOUBLE_AT(offset) (((address)&locals[-((offset) + 1)])) 139 #define LOCALS_DOUBLE_AT(offset) (((address)&locals[-((offset) + 1)]))
140 140