diff options
author | Teddy <[email protected]> | 2014-05-01 13:14:41 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-05-01 13:14:41 +0800 |
commit | 2b30bf74245fa28d59491150395b54766783b379 (patch) | |
tree | 798cbeb37d06f125ab3842f115849f3eb92b4fc9 /ssa.h | |
parent | 9c9ffe07398c4cb9d5167c8e876e766dad92af98 (diff) |
can generate native asm
Diffstat (limited to 'ssa.h')
-rw-r--r-- | ssa.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |