< prev index next >

src/hotspot/share/opto/graphKit.cpp

Print this page

        

@@ -3166,11 +3166,11 @@
         // the profiling data at this bytecode. Don't lose it, feed it
         // to the type system as a speculative type.
         if (!is_value) {
           obj = record_profiled_receiver_for_speculation(obj);
           if (toop->is_valuetypeptr()) {
-            obj = ValueTypeNode::make_from_oop(this, obj, toop->value_klass(), /* buffer_check */ false, /* null2default */ false);
+            obj = ValueTypeNode::make_from_oop(this, obj, toop->value_klass(), /* null2default */ false);
           }
         }
         return obj;
       case Compile::SSC_always_false:
         // It needs a null check because a null will *pass* the cast check.

@@ -3304,11 +3304,11 @@
   record_for_igvn(region);
 
   if (!is_value) {
     res = record_profiled_receiver_for_speculation(res);
     if (toop->is_valuetypeptr()) {
-      res = ValueTypeNode::make_from_oop(this, res, toop->value_klass(), /* buffer_check */ false, /* null2default */ false);
+      res = ValueTypeNode::make_from_oop(this, res, toop->value_klass(), /* null2default */ false);
     }
   }
   return res;
 }
 
< prev index next >