Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalCompiler.cpp @ 5686:6cb39a47da14
replaced loading of instance prototype header word with a constant obtained from HotSpotResolvedJavaType
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 22 Jun 2012 17:16:57 +0200 |
parents | 310ed6650682 |
children | 87e8baf5447c |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Fri Jun 22 16:42:01 2012 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Fri Jun 22 17:16:57 2012 +0200 @@ -273,6 +273,7 @@ HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); + HotSpotResolvedJavaType::set_prototypeHeader(obj, (jlong) klass->prototype_header()); HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); if (klass->oop_is_javaArray()) {