diff options
Diffstat (limited to 'include/ast.h')
-rw-r--r-- | include/ast.h | 8 |
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 { |