summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fold.c b/fold.c
index e5c92c3..55e8b72 100644
--- a/fold.c
+++ b/fold.c
@@ -206,7 +206,7 @@ fold(Fn *fn)
 			}
 			b->visit++;
 			assert(b->jmp.type != JJmp
-				|| edge[n][0].dead != 0
+				|| !edge[n][0].dead
 				|| flowrk == &edge[n][0]);
 		}
 		else if (nuse) {