summary refs log tree commit diff
path: root/ssa.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-09 14:21:56 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-09 14:21:56 -0400
commit1e0f18e9086b825d6fc941bf37306ae2823f0341 (patch)
tree71b5ebe09b04fa44465fd98a559a6a3541acd8c9 /ssa.c
parent081360df6a06979852de977a4d4e56f3c4481a81 (diff)
downloadroux-1e0f18e9086b825d6fc941bf37306ae2823f0341.tar.gz
add a proper block deletion routine
Diffstat (limited to 'ssa.c')
-rw-r--r--ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssa.c b/ssa.c
index 201f22c..77c6258 100644
--- a/ssa.c
+++ b/ssa.c
@@ -161,8 +161,8 @@ fillrpo(Fn *f)
 	for (p=&f->start; *p;) {
 		b = *p;
 		if (b->id == -1) {
+			blkdel(b);
 			*p = b->link;
-			/* todo, free block */
 		} else {
 			b->id -= n;
 			f->rpo[b->id] = b;