aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssa.h')
-rw-r--r--ssa.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssa.h b/ssa.h
index 1cd57a8..240fb6e 100644
--- a/ssa.h
+++ b/ssa.h
@@ -58,8 +58,8 @@ struct CInst {
LOAD, /* load from memory */
ADDR, /* get address */
MUL, DIV, MOD, ADD, SUB,
- SHL, SHR, AND, XOR, OR,
- LOR, LAND, NOR,
+ SHL, SHR, AND, XOR, OR, NOR,
+ LOR, LAND,
EQ, NE, LT, GT, LE, GE,
NEG
} op;
@@ -67,7 +67,8 @@ struct CInst {
CInst_t next, prev;
int id;
int is_def;
- int bret;
+ int bret; /* for CALL */
+ int offset; /* for PUSH */
};
typedef struct CPhi CPhi;