mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-14 07:29:51 +00:00
8283396: Null pointer dereference in loopnode.cpp:2851
Reviewed-by: chagedorn, kvn
This commit is contained in:
parent
e9e3aa7b82
commit
500f9a577b
@ -853,6 +853,7 @@ bool PhaseIdealLoop::create_loop_nest(IdealLoopTree* loop, Node_List &old_new) {
|
||||
if (bt == T_INT && head->as_CountedLoop()->is_strip_mined()) {
|
||||
// Loop is strip mined: use the safepoint of the outer strip mined loop
|
||||
OuterStripMinedLoopNode* outer_loop = head->as_CountedLoop()->outer_loop();
|
||||
assert(outer_loop != NULL, "no outer loop");
|
||||
safepoint = outer_loop->outer_safepoint();
|
||||
outer_loop->transform_to_counted_loop(&_igvn, this);
|
||||
exit_test = head->loopexit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user