< prev index next >

src/hotspot/share/ci/ciMethodType.cpp

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

@@ -39,11 +39,11 @@
 }
 
 ciType* ciMethodType::rtype(bool& never_null) const {
   GUARDED_VM_ENTRY(
     oop rtype = java_lang_invoke_MethodType::rtype(get_oop());
-    never_null = (java_lang_Class::value_mirror(rtype) == rtype);
+    never_null = (java_lang_Class::inline_type_mirror(rtype) == rtype);
     return class_to_citype(rtype);
   )
 }
 
 int ciMethodType::ptype_count() const {

@@ -55,9 +55,9 @@
 }
 
 ciType* ciMethodType::ptype_at(int index, bool& never_null) const {
   GUARDED_VM_ENTRY(
     oop ptype = java_lang_invoke_MethodType::ptype(get_oop(), index);
-    never_null = (java_lang_Class::value_mirror(ptype) == ptype);
+    never_null = (java_lang_Class::inline_type_mirror(ptype) == ptype);
     return class_to_citype(ptype);
   )
 }
< prev index next >