Skip to content

Commit

Permalink
[GR-58649] Add assertion message
Browse files Browse the repository at this point in the history
PullRequest: graal/18952
  • Loading branch information
gergo- committed Oct 4, 2024
2 parents c7cf7d4 + 9df5c82 commit 16ca5f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected List<Void> processLoop(CFGLoop<HIRBlock> loop, Void initialState) {
effects.apply(graph, obsoleteNodes, true);
}
debug.dump(DebugContext.DETAILED_LEVEL, graph, "After applying effects");
assert VirtualUtil.assertNonReachable(graph, obsoleteNodes);
assert VirtualUtil.assertNonReachable(graph, obsoleteNodes) : Assertions.errorMessage("obsolete nodes should not be reachable: ", obsoleteNodes);
for (Node node : obsoleteNodes) {
if (node.isAlive() && node.hasNoUsages()) {
if (node instanceof FixedWithNextNode) {
Expand Down

0 comments on commit 16ca5f6

Please sign in to comment.