< prev index next >
src/share/vm/opto/doCall.cpp
Print this page
*** 668,678 ****
push(vt);
} else {
assert(ctype == C->env()->___Value_klass(), "unexpected value type klass");
Node* retnode = pop();
assert(retnode->is_ValueType(), "inconsistent");
! retnode = retnode->as_ValueType()->store_to_memory(this);
push(retnode);
}
} else {
assert(rt == ct, "unexpected mismatch: rt=%s, ct=%s", type2name(rt), type2name(ct));
// push a zero; it's better than getting an oop/int mismatch
--- 668,678 ----
push(vt);
} else {
assert(ctype == C->env()->___Value_klass(), "unexpected value type klass");
Node* retnode = pop();
assert(retnode->is_ValueType(), "inconsistent");
! retnode = retnode->as_ValueType()->allocate(this);
push(retnode);
}
} else {
assert(rt == ct, "unexpected mismatch: rt=%s, ct=%s", type2name(rt), type2name(ct));
// push a zero; it's better than getting an oop/int mismatch
< prev index next >