aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.c b/src/ast.c
index e18b906..04ec646 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -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);
}