]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Adding the 3 virtual instructions required for the IR later.
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 12:35:15 +0000 (14:35 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 15:27:47 +0000 (17:27 +0200)
gmqcc.h

diff --git a/gmqcc.h b/gmqcc.h
index 4408ab29cb5c8822bdafbb57c7ad6d489830b027..7b08209a76bbf259f50b8db18d58a55cfec868be 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -365,7 +365,14 @@ enum {
     INSTR_AND,
     INSTR_OR,
     INSTR_BITAND,
-    INSTR_BITOR
+    INSTR_BITOR,
+
+    /* Virtual instructions used by the IR
+     * Keep at the end!
+     */
+    VINSTR_PHI,
+    VINSTR_JUMP,
+    VINSTR_COND,
 };
 
 /*