summary refs log tree commit diff
path: root/live.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-01 10:41:53 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-01 10:41:53 -0400
commite7825e70d532d16f1598eaa598342af373716418 (patch)
treed29fa3899d7d141da8fe91ee5ae1cd252b3d7e7b /live.c
parent6a2c88054318290f4b4aeb6f24d710a3f99c6415 (diff)
downloadroux-e7825e70d532d16f1598eaa598342af373716418.tar.gz
tradeoff the type of bsiter()
int is used all over the place for temporaries,
maybe this should be changed, I don't know.

Another thing to consider is that temporaries
are currently on 12 bits (and will be on 29
or 30 bits in the future), so int will always be
safe to store them.  We just loose the free
invariant of non-negativity.
Diffstat (limited to 'live.c')
-rw-r--r--live.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/live.c b/live.c
index c61e987..cd02aec 100644
--- a/live.c
+++ b/live.c
@@ -70,8 +70,7 @@ filllive(Fn *f)
 {
 	Blk *b;
 	Ins *i;
-	int k, m[2], n, chg, nlv[2];
-	uint t;
+	int k, t, m[2], n, chg, nlv[2];
 	short *phi;
 	BSet u[1], v[1];
 	Mem *ma;