From 7f524c427597cc998f243769b0e22e4f450c55cf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 24 Apr 2019 21:22:53 +0200 Subject: Progressing on bytecode (to c), fix ssa resolving multiple times --- include/ast.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ast.h') diff --git a/include/ast.h b/include/ast.h index c010538..c40be22 100644 --- a/include/ast.h +++ b/include/ast.h @@ -57,7 +57,8 @@ typedef enum { typedef enum { AST_NOT_RESOLVED, AST_RESOLVING, - AST_RESOLVED + AST_RESOLVED, + AST_SSA_RESOLVED } AstResolveStatus; typedef struct { @@ -69,6 +70,7 @@ typedef struct { AstValue value; AstType type; AstResolveData resolve_data; + SsaRegister ssa_reg; } Ast; struct Scope { -- cgit v1.2.3