< prev index next >
src/hotspot/share/opto/graphKit.cpp
Print this page
@@ -1796,14 +1796,10 @@
const Type* t = domain->field_at(i);
if (call->method()->has_scalarized_args() && t->is_valuetypeptr() && !t->maybe_null()) {
// We don't pass value type arguments by reference but instead
// pass each field of the value type
ValueTypeNode* vt = arg->isa_ValueType();
- if (vt == NULL) {
- // TODO why is that?? Shouldn't we always see a valuetype node here?
- vt = ValueTypeNode::make_from_oop(this, arg, t->value_klass());
- }
vt->pass_fields(this, call, sig_cc, idx);
// If a value type argument is passed as fields, attach the Method* to the call site
// to be able to access the extended signature later via attached_method_before_pc().
// For example, see CompiledMethod::preserve_callee_argument_oops().
call->set_override_symbolic_info(true);
< prev index next >