summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 8f77a54..ecd0fcc 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -97,6 +97,7 @@ enum {
 #define R        (Ref){0, 0}
 #define TMP(x)   (Ref){RTmp, x}
 #define CON(x)   (Ref){RCon, x}
+#define CON_Z    CON(0)          /* reserved zero constant */
 #define SLOT(x)  (Ref){RSlot, x}
 #define REG(x)   (Ref){RReg, x}
 
@@ -146,6 +147,9 @@ enum {
 	JRet,
 	JJmp,
 	JJez,
+	JXJc,
+	JXJc1 = JXJc + NCmp-1,
+	JLast
 };
 
 struct OpDesc {