From 68c6feefbde175fbc27d8f638d3fbd7e92432171 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Wed, 15 Jul 2015 02:55:10 -0400 Subject: add pretty printing function --- lisc/lisc.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lisc/lisc.h') diff --git a/lisc/lisc.h b/lisc/lisc.h index 153d70f..3d5e38b 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -16,6 +16,7 @@ enum { NIns = 256, }; +typedef struct OpDesc OpDesc; typedef struct Ins Ins; typedef struct Phi Phi; typedef struct Blk Blk; @@ -29,7 +30,7 @@ enum { RMask = 1, RShift = 1, - NRefs = ((ushort)-1)>>RShift, + NRef = ((ushort)-1)>>RShift, }; #define SYM(x) (((x)<