aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-10-07 00:51:40 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit111bd0c7cb4b446c4bfe192b1df82845de17c005 (patch)
treef8efde64837e03f13dfb2baae3160a98bda8913a /include/ast.h
parenta9a8cf8d337470bb9b4466aea9593df7f5fac776 (diff)
Rename ssa to ir
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ast.h b/include/ast.h
index f62d31f..eaaf93e 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -11,7 +11,7 @@
#include "std/hash_map.h"
#include "number.h"
#include "binop_type.h"
-#include "ssa/ssa.h"
+#include "ir/ir.h"
#include <setjmp.h>
@@ -75,7 +75,7 @@ typedef enum {
AST_NOT_RESOLVED,
AST_RESOLVING,
AST_RESOLVED,
- AST_SSA_RESOLVED
+ AST_IR_RESOLVED
} AstResolveStatus;
typedef enum {
@@ -96,7 +96,7 @@ typedef struct {
typedef struct {
AstResolvedType type;
AstResolveStatus status;
- SsaRegister ssa_reg;
+ IrRegister ir_reg;
} AstResolveData;
typedef enum {
@@ -192,7 +192,7 @@ struct FunctionDecl {
LhsExpr *lhs_expr; /* Borrowed from the LhsExpr that owns this FunctionDecl if it exists, otherwise NULL */
FunctionSignature *signature; /* TODO: Make this a non-pointer type? */
Scope body;
- SsaFuncIndex ssa_func_index;
+ IrFuncIndex ir_func_index;
};
struct FunctionCall {