diff options
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -136,7 +136,7 @@ static AstResolvedType scope_named_object_get_resolved_type(ScopeNamedObject *se static void resolve_data_init(AstResolveData *self) { self->status = AST_NOT_RESOLVED; ast_resolved_type_init(&self->type); - self->ssa_reg = 0; + self->ir_reg = 0; } int ast_create(ArenaAllocator *allocator, void *value, AstType type, Ast **result) { @@ -287,7 +287,7 @@ void function_parameter_init(FunctionParameter *self) { int funcdecl_init(FunctionDecl *self, FunctionSignature *signature, Scope *parent, ArenaAllocator *allocator) { self->lhs_expr = NULL; self->signature = signature; - self->ssa_func_index = 0; + self->ir_func_index = 0; return scope_init(&self->body, parent, allocator); } |