提交 6c2fbc4e 编写于 作者: A anoll

8042052: assert(t != NULL) failed: must set before get

Summary: Fixes a bug introduced by 8029302
Reviewed-by: kvn
上级 0fd06556
...@@ -1725,7 +1725,7 @@ Node* LibraryCallKit::finish_pow_exp(Node* result, Node* x, Node* y, const TypeF ...@@ -1725,7 +1725,7 @@ Node* LibraryCallKit::finish_pow_exp(Node* result, Node* x, Node* y, const TypeF
result_region->init_req(2, control()); result_region->init_req(2, control());
result_val->init_req(2, value); result_val->init_req(2, value);
set_control(_gvn.transform(result_region)); set_control(_gvn.transform(result_region));
return result_val; return _gvn.transform(result_val);
} else { } else {
return result; return result;
} }
...@@ -1920,7 +1920,7 @@ bool LibraryCallKit::inline_pow() { ...@@ -1920,7 +1920,7 @@ bool LibraryCallKit::inline_pow() {
// control from finish_pow_exp is now input to the region node // control from finish_pow_exp is now input to the region node
region_node->set_req(2, control()); region_node->set_req(2, control());
// the result from finish_pow_exp is now input to the phi node // 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)); set_control(_gvn.transform(region_node));
record_for_igvn(region_node); record_for_igvn(region_node);
set_result(_gvn.transform(phi_node)); set_result(_gvn.transform(phi_node));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册