Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.hpp @ 3637:ff6a991c6e3c
Use GraalEnv to look up types.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 01:48:25 +0100 |
parents | 5e9645341ec3 |
children | 5a8c44b5fb80 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.hpp Tue Nov 15 22:06:02 2011 +0100 +++ b/src/share/vm/graal/graalCompiler.hpp Wed Nov 16 01:48:25 2011 +0100 @@ -56,10 +56,12 @@ // Print compilation timers and statistics virtual void print_timers(); - - static oop get_RiType(KlassHandle klass, KlassHandle accessor, TRAPS); - static oop get_RiType(ciType *klass, KlassHandle accessor, TRAPS); - static oop get_RiField(ciField *ciField, ciInstanceKlass* accessor_klass, KlassHandle accessor, Bytecodes::Code byteCode, TRAPS); + + static oop get_RiTypeFromSignature(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); + static oop get_RiType(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); + static oop get_RiType(Symbol* klass_name, TRAPS); + static oop get_RiType(KlassHandle klass, TRAPS); + static oop get_RiField(ciField *field, ciInstanceKlass* accessor_klass, Handle field_holder, Handle field_type, Bytecodes::Code byteCode, TRAPS); static oop createHotSpotTypeResolved(KlassHandle klass, Handle name, TRAPS); static oop createHotSpotMethodResolved(methodHandle method, TRAPS);