< prev index next >

src/hotspot/share/opto/graphKit.cpp

Print this page

        

*** 3166,3176 **** // 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); } } return obj; case Compile::SSC_always_false: // It needs a null check because a null will *pass* the cast check. --- 3166,3176 ---- // 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(), /* null2default */ false); } } return obj; case Compile::SSC_always_false: // It needs a null check because a null will *pass* the cast check.
*** 3304,3314 **** 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); } } return res; } --- 3304,3314 ---- 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(), /* null2default */ false); } } return res; }
< prev index next >