Fix bug in AstNode::mem2reg_as_needed_pass2()
This commit is contained in:
parent
b7cfb7dbd2
commit
78f65f89ff
1 changed files with 2 additions and 0 deletions
|
@ -3079,6 +3079,8 @@ bool AstNode::mem2reg_as_needed_pass2(pool<AstNode*> &mem2reg_set, AstNode *mod,
|
|||
|
||||
if (bit_part_sel)
|
||||
children.push_back(bit_part_sel);
|
||||
|
||||
did_something = true;
|
||||
}
|
||||
|
||||
log_assert(id2ast == NULL || mem2reg_set.count(id2ast) == 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue