< prev index next >

src/hotspot/share/opto/memnode.cpp

Print this page
rev 55127 : 8223351: [lworld] Primary mirror and nullable mirror for inline type
Reviewed-by: tbd

@@ -1852,11 +1852,11 @@
     BasicType bt = memory_type();
 
     // Fold component and value mirror loads
     ciInstanceKlass* ik = tinst->klass()->as_instance_klass();
     if (ik == phase->C->env()->Class_klass() && (off == java_lang_Class::component_mirror_offset_in_bytes() ||
-                                                 off == java_lang_Class::value_mirror_offset_in_bytes())) {
+                                                 off == java_lang_Class::inline_mirror_offset_in_bytes())) {
       ciType* mirror_type = tinst->java_mirror_type();
       if (mirror_type != NULL) {
         const Type* const_oop = TypePtr::NULL_PTR;
         if (mirror_type->is_array_klass()) {
           const_oop = TypeInstPtr::make(mirror_type->as_array_klass()->component_mirror_instance());
< prev index next >