summary refs log tree commit diff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-06 14:36:27 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-06 14:36:27 -0500
commit7e1c1f9f779aa4d55c3cbc9e16a9f8f2884dd3fe (patch)
tree1956b81f5c2a9eea51d6bbc9a4071d83874dd492 /all.h
parent835b2b4910c19ee2a9411da55080be6b1e30a722 (diff)
downloadroux-7e1c1f9f779aa4d55c3cbc9e16a9f8f2884dd3fe.tar.gz
use uint for block ids
Diffstat (limited to 'all.h')
-rw-r--r--all.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/all.h b/all.h
index 7243e09..cc94161 100644
--- a/all.h
+++ b/all.h
@@ -333,13 +333,13 @@ struct Blk {
 	Blk *s2;
 	Blk *link;
 
-	int id;
-	int visit;
+	uint id;
+	uint visit;
 
 	Blk *idom;
 	Blk *dom, *dlink;
 	Blk **fron;
-	int nfron;
+	uint nfron;
 
 	Blk **pred;
 	uint npred;
@@ -432,7 +432,7 @@ struct Fn {
 	int ntmp;
 	int ncon;
 	int nmem;
-	int nblk;
+	uint nblk;
 	int retty; /* index in typ[], -1 if no aggregate return */
 	Ref retr;
 	Blk **rpo;