Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCompilerToVM.cpp @ 13479:606959535fd4
remove Graal mirror from Class
author | twisti |
---|---|
date | Wed, 25 Dec 2013 20:27:59 -0800 |
parents | fe03864a2c72 |
children | 37ec2cabf397 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp Wed Dec 25 12:14:29 2013 -0800 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Wed Dec 25 20:27:59 2013 -0800 @@ -235,7 +235,7 @@ Handle type = VMToCompiler::createUnresolvedJavaType(name, THREAD); result = type(); } else { - Handle type = GraalCompiler::createHotSpotResolvedObjectType(resolved_type, CHECK_NULL); + Handle type = VMToCompiler::createResolvedJavaType(resolved_type->java_mirror(), CHECK_NULL); result = type(); } } @@ -280,7 +280,7 @@ methodHandle method = GraalEnv::get_method_by_index(cp, cp_index, bc, pool_holder); if (!method.is_null()) { - Handle holder = GraalCompiler::createHotSpotResolvedObjectType(method->method_holder(), CHECK_NULL); + Handle holder = VMToCompiler::createResolvedJavaType(method->method_holder()->java_mirror(), CHECK_NULL); return JNIHandles::make_local(THREAD, VMToCompiler::createResolvedJavaMethod(holder, method(), THREAD)); } else { // Get the method's name and signature. @@ -355,7 +355,7 @@ flags = result.access_flags(); holder_klass = result.field_holder(); basic_type = result.field_type(); - holder = GraalCompiler::createHotSpotResolvedObjectType(holder_klass, CHECK_NULL); + holder = VMToCompiler::createResolvedJavaType(holder_klass->java_mirror(), CHECK_NULL); } }