Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
5685:757fc384f9b7 | 5686:6cb39a47da14 |
---|---|
271 HotSpotResolvedJavaType::set_javaMirror(obj, klass->java_mirror()); | 271 HotSpotResolvedJavaType::set_javaMirror(obj, klass->java_mirror()); |
272 HotSpotResolvedJavaType::set_simpleName(obj, name()); | 272 HotSpotResolvedJavaType::set_simpleName(obj, name()); |
273 HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); | 273 HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); |
274 HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); | 274 HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); |
275 HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); | 275 HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); |
276 HotSpotResolvedJavaType::set_prototypeHeader(obj, (jlong) klass->prototype_header()); | |
276 HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); | 277 HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); |
277 | 278 |
278 if (klass->oop_is_javaArray()) { | 279 if (klass->oop_is_javaArray()) { |
279 HotSpotResolvedJavaType::set_isArrayClass(obj, true); | 280 HotSpotResolvedJavaType::set_isArrayClass(obj, true); |
280 } else { | 281 } else { |