summary refs log tree commit diff
path: root/util.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2017-04-08 21:09:59 -0400
committerQuentin Carbonneaux <quentin@c9x.me>2017-04-08 21:57:05 -0400
commit96836855a55cd28f1449b4a58d1e5301669350c0 (patch)
tree3b0688d1b63f528d41edba87232e5469d95d08cb /util.c
parent49a4593c335126ba279f47328824abfef379725e (diff)
downloadroux-96836855a55cd28f1449b4a58d1e5301669350c0.tar.gz
rework storage of types
The arm64 ABI needs to know precisely what
floating point types are being used, so we
need to store that information.

I also made typ[] a dynamic array.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index aae1481..4144f87 100644
--- a/util.c
+++ b/util.c
@@ -22,7 +22,7 @@ enum {
 	NPtr = 256,
 };
 
-Typ typ[NTyp];
+Typ *typ;
 Ins insb[NIns], *curi;
 
 static void *ptr[NPtr];