summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-04-19 16:31:54 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2020-08-06 10:07:14 +0200
commit706d6beca6218caf76f0107d15e79a8f3af1646a (patch)
tree61648fd9204f299a89817fc4f03685f775a2dbdf
parent9de57265ce8453de0f773c48550ca05460844dd1 (diff)
downloadroux-706d6beca6218caf76f0107d15e79a8f3af1646a.tar.gz
Move NPred in parse.c and decrease it
This now only limits the number of arguments when parsing the input SSA,
which is usually a small fixed size (depending on the frontend).
-rw-r--r--all.h1
-rw-r--r--parse.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/all.h b/all.h
index fba93b1..7f843a9 100644
--- a/all.h
+++ b/all.h
@@ -32,7 +32,6 @@ typedef struct Target Target;
 
 enum {
 	NString = 64,
-	NPred   = 127,
 	NIns    = 1 << 20,
 	NAlign  = 3,
 	NField  = 32,
diff --git a/parse.c b/parse.c
index 95bcf45..b279ff4 100644
--- a/parse.c
+++ b/parse.c
@@ -102,6 +102,8 @@ static char *kwmap[Ntok] = {
 };
 
 enum {
+	NPred = 63,
+
 	TMask = 16383, /* for temps hash */
 	BMask = 8191, /* for blocks hash */