8042052: assert(t != NULL) failed: must set before get
Added missing call to _gvn.transform to make sure the type of the PhiNode is recorded in the gvn. Reviewed-by: kvn
This commit is contained in:
parent
d025c1f6ce
commit
ded0d16e25
@ -1733,7 +1733,7 @@ Node* LibraryCallKit::finish_pow_exp(Node* result, Node* x, Node* y, const TypeF
|
||||
result_region->init_req(2, control());
|
||||
result_val->init_req(2, value);
|
||||
set_control(_gvn.transform(result_region));
|
||||
return result_val;
|
||||
return _gvn.transform(result_val);
|
||||
} else {
|
||||
return result;
|
||||
}
|
||||
@ -1928,7 +1928,7 @@ bool LibraryCallKit::inline_pow() {
|
||||
// control from finish_pow_exp is now input to the region node
|
||||
region_node->set_req(2, control());
|
||||
// the result from finish_pow_exp is now input to the phi node
|
||||
phi_node->init_req(2, _gvn.transform(result));
|
||||
phi_node->init_req(2, result);
|
||||
set_control(_gvn.transform(region_node));
|
||||
record_for_igvn(region_node);
|
||||
set_result(_gvn.transform(phi_node));
|
||||
|
Loading…
x
Reference in New Issue
Block a user