mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 23:48:33 +00:00
Check for nodes missed by remove_useless_nodes() only if PhaseRemoveUseless has actually been run. This makes it possible to use -XX:-UseLoopSafepoints without crashing trivially, although implicit assumptions in other parts of C2 about the existence of loop safepoints might lead to more subtle failures for more complex methods. Reviewed-by: neliasso, thartmann, kvn