summary refs log tree commit diff
path: root/all.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-04-19 16:31:52 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2020-08-06 09:51:12 +0200
commit9de57265ce8453de0f773c48550ca05460844dd1 (patch)
treec6950680b590eb1cb698bed97cc5ef20dda794fa /all.h
parent190263f1b628ba3171309147120fd3ba0e370b42 (diff)
downloadroux-9de57265ce8453de0f773c48550ca05460844dd1.tar.gz
Use a dynamic array for phi arguments
Diffstat (limited to 'all.h')
-rw-r--r--all.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/all.h b/all.h
index 59eefe1..fba93b1 100644
--- a/all.h
+++ b/all.h
@@ -206,8 +206,8 @@ struct Ins {
 
 struct Phi {
 	Ref to;
-	Ref arg[NPred];
-	Blk *blk[NPred];
+	Ref *arg;
+	Blk **blk;
 	uint narg;
 	int cls;
 	Phi *link;