From 3f038428a7f282468011415db76da4bf08ddb67c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 14 Nov 2021 15:12:37 +0000 Subject: Begin minimizing `Ast` size --- src/check_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_stmt.cpp') diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 24ad0eec1..b5e3d8c88 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1616,7 +1616,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { } Operand lhs = {Addressing_Invalid}; Operand rhs = {Addressing_Invalid}; - Ast *binary_expr = alloc_ast_node(node->file, Ast_BinaryExpr); + Ast *binary_expr = alloc_ast_node(node->file(), Ast_BinaryExpr); ast_node(be, BinaryExpr, binary_expr); be->op = op; be->op.kind = cast(TokenKind)(cast(i32)be->op.kind - (Token_AddEq - Token_Add)); -- cgit v1.2.3