Mercurial > hg > truffle
comparison src/cpu/ppc/vm/bytecodeInterpreter_ppc.hpp @ 14433: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 | ec28f9c041ff |
children | 67fa91961822 |
comparison
equal
deleted
inserted
replaced
14432:935bf3340572 | 14433:018b357638aa |
---|---|
89 // JavaLocals implementation | 89 // JavaLocals implementation |
90 | 90 |
91 #define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)]) | 91 #define LOCALS_SLOT(offset) ((intptr_t*)&locals[-(offset)]) |
92 #define LOCALS_ADDR(offset) ((address)locals[-(offset)]) | 92 #define LOCALS_ADDR(offset) ((address)locals[-(offset)]) |
93 #define LOCALS_INT(offset) (*(jint*)&(locals[-(offset)])) | 93 #define LOCALS_INT(offset) (*(jint*)&(locals[-(offset)])) |
94 #define LOCALS_OBJECT(offset) ((oop)locals[-(offset)]) | 94 #define LOCALS_OBJECT(offset) (cast_to_oop(locals[-(offset)])) |
95 #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)])) | 95 #define LOCALS_LONG_AT(offset) (((address)&locals[-((offset) + 1)])) |
96 #define LOCALS_DOUBLE_AT(offset) (((address)&locals[-((offset) + 1)])) | 96 #define LOCALS_DOUBLE_AT(offset) (((address)&locals[-((offset) + 1)])) |
97 | 97 |
98 #define SET_LOCALS_SLOT(value, offset) (*(intptr_t*)&locals[-(offset)] = *(intptr_t *)(value)) | 98 #define SET_LOCALS_SLOT(value, offset) (*(intptr_t*)&locals[-(offset)] = *(intptr_t *)(value)) |
99 #define SET_LOCALS_INT(value, offset) (*((jint *)&locals[-(offset)]) = (value)) | 99 #define SET_LOCALS_INT(value, offset) (*((jint *)&locals[-(offset)]) = (value)) |