Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.hpp @ 6442:45f682f7fea8
Add MetaAccessProvider.getResolvedJavaField to convert from reflection field to metadata field
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 25 Sep 2012 09:23:45 -0700 |
parents | 120820e30baa |
children | fd71ca8c5f88 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.hpp Tue Sep 25 09:22:22 2012 -0700 +++ b/src/share/vm/graal/graalCompiler.hpp Tue Sep 25 09:23:45 2012 -0700 @@ -73,8 +73,9 @@ static Handle get_JavaTypeFromSignature(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); static Handle get_JavaType(constantPoolHandle cp, int index, KlassHandle accessor, TRAPS); static Handle get_JavaType(Symbol* klass_name, TRAPS); + static Handle get_JavaTypeFromClass(Handle javaClassHandle, TRAPS); static Handle get_JavaType(KlassHandle klass, TRAPS); - static Handle get_JavaField(int offset, int flags, Symbol* field_name, Handle field_holder, Handle field_type, Bytecodes::Code byteCode, TRAPS); + static Handle get_JavaField(int offset, int flags, Symbol* field_name, Handle field_holder, Handle field_type, TRAPS); static Handle createHotSpotResolvedJavaType(KlassHandle klass, Handle name, TRAPS); static Handle createHotSpotResolvedJavaMethod(methodHandle method, TRAPS);