Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 018b357638aa |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Tue Apr 01 14:09:03 2014 +0200 +++ b/src/cpu/sparc/vm/bytecodeInterpreter_sparc.hpp Tue Apr 01 13:57:07 2014 +0200 @@ -83,7 +83,7 @@ #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) (cast_to_oop(locals[-(offset)])) +#define LOCALS_OBJECT(offset) ((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)]))