Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalJavaAccess.hpp @ 5326:a53162ca8219
introduced HotSpotKlassOop type to convey a klassOop value from the compiler to the C++ code instead of relying on the C++ code automagically converting a HotSpotTypeResolvedImpl value to a klassOop
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 30 Apr 2012 20:15:20 +0200 |
parents | 290b3025b66f |
children | af07e798947d |
line wrap: on
line diff
--- a/src/share/vm/graal/graalJavaAccess.hpp Mon Apr 30 15:41:14 2012 +0200 +++ b/src/share/vm/graal/graalJavaAccess.hpp Mon Apr 30 20:15:20 2012 +0200 @@ -58,6 +58,9 @@ boolean_field(HotSpotTypeResolved, isInterface) \ int_field(HotSpotTypeResolved, instanceSize) \ end_class \ + start_class(HotSpotKlassOop) \ + oop_field(HotSpotKlassOop, javaMirror, "Ljava/lang/Class;") \ + end_class \ start_class(HotSpotMethodResolved) \ oop_field(HotSpotMethodResolved, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ oop_field(HotSpotMethodResolved, name, "Ljava/lang/String;") \