diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-04-24 21:22:53 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 7f524c427597cc998f243769b0e22e4f450c55cf (patch) | |
tree | 0dba782c2214d1ce5309ba71cfd3dddaee4a52a1 /include/ast.h | |
parent | 328a9c8310e8bab250b04e9e001ab0d890d33074 (diff) |
Progressing on bytecode (to c), fix ssa resolving multiple times
Diffstat (limited to 'include/ast.h')
-rw-r--r-- | include/ast.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |