From 111bd0c7cb4b446c4bfe192b1df82845de17c005 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 7 Oct 2019 00:51:40 +0200 Subject: Rename ssa to ir --- include/ast.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/ast.h') 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 @@ -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 { -- cgit v1.2.3