mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-21 05:05:00 -07:00
Begin minimizing Ast size
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user