aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-10-03 09:55:43 +0100
committerDavid Shah <dave@ds0.me>2019-10-03 09:55:43 +0100
commite46e8753c84ee83f871d5ce116ce4c08dd49a031 (patch)
treee5b3584a405947f03bd02bc09e0f68e2e371c858 /frontends/ast
parent9b9d24f15b1b91b64b97e12bd05693f4539762d9 (diff)
downloadyosys-e46e8753c84ee83f871d5ce116ce4c08dd49a031.tar.gz
yosys-e46e8753c84ee83f871d5ce116ce4c08dd49a031.tar.bz2
yosys-e46e8753c84ee83f871d5ce116ce4c08dd49a031.zip
frontends/ast: code style
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/simplify.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 0ebc183b2..44fd32cdc 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -786,9 +786,8 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
if (type == AST_TYPEDEF) {
log_assert(children.size() == 1);
log_assert(children[0]->type == AST_WIRE || children[0]->type == AST_MEMORY);
- while(children[0]->simplify(const_fold, at_zero, in_lvalue, stage, width_hint, sign_hint, in_param)) {
+ while(children[0]->simplify(const_fold, at_zero, in_lvalue, stage, width_hint, sign_hint, in_param))
did_something = true;
- };
log_assert(!children[0]->is_custom_type);
}