8255120: C2: assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis

Reviewed-by: thartmann
This commit is contained in:
Vladimir Ivanov 2021-01-14 17:18:44 +00:00
parent 5926d75fa1
commit 0148adf20e
5 changed files with 25 additions and 26 deletions

View file

@ -689,8 +689,9 @@ class Compile : public Phase {
_predicate_opaqs.append(n);
}
bool post_loop_opts_phase() { return _post_loop_opts_phase; }
void set_post_loop_opts_phase() { _post_loop_opts_phase = true; }
bool post_loop_opts_phase() { return _post_loop_opts_phase; }
void set_post_loop_opts_phase() { _post_loop_opts_phase = true; }
void reset_post_loop_opts_phase() { _post_loop_opts_phase = false; }
void record_for_post_loop_opts_igvn(Node* n);
void remove_from_post_loop_opts_igvn(Node* n);