aboutsummaryrefslogtreecommitdiff
path: root/include/ssa/ssa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ssa/ssa.h')
-rw-r--r--include/ssa/ssa.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/ssa/ssa.h b/include/ssa/ssa.h
index 0b6501b..0ec43b0 100644
--- a/include/ssa/ssa.h
+++ b/include/ssa/ssa.h
@@ -26,6 +26,7 @@ typedef enum {
SSA_FUNC_END,
SSA_PUSH,
SSA_PUSH_RET,
+ SSA_CALL_START,
SSA_CALL,
SSA_CALL_EXTERN,
SSA_JUMP_ZERO,
@@ -109,18 +110,20 @@ typedef struct {
} SsaInsFuncStart;
typedef struct {
- u8 num_args;
FunctionDecl *func_decl;
u8 import_index;
} SsaInsFuncCall;
typedef struct {
- u8 num_args;
LhsExpr *func_decl_lhs;
int import_index;
} SsaInsFuncCallExtern;
typedef struct {
+ u8 num_args;
+} SsaInsCallStart;
+
+typedef struct {
SsaRegister condition_reg;
SsaLabelIndex target_label;
} SsaInsJumpZero;