Skip to content

Commit

Permalink
Merge pull request #3966 from jix/fix-nullptr-fixup-hierarchy-flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jix authored Sep 29, 2023
2 parents 2002490 + cc843d4 commit 7aa26b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/ast/simplify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3042,8 +3042,8 @@ skip_dynamic_range_lvalue_expansion:;
assign_check = new AstNode(AST_ASSIGN_LE, new AstNode(AST_IDENTIFIER), new AstNode(AST_REDUCE_BOOL, children[0]->clone()));
assign_check->children[0]->str = id_check;
assign_check->children[0]->was_checked = true;
assign_check->fixup_hierarchy_flags();
}
assign_check->fixup_hierarchy_flags();

if (current_always == nullptr || current_always->type != AST_INITIAL) {
assign_en = new AstNode(AST_ASSIGN_LE, new AstNode(AST_IDENTIFIER), mkconst_int(1, false, 1));
Expand Down

0 comments on commit 7aa26b3

Please sign in to comment.