diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc index 26ed0e3e4..ecb4c0931 100644 --- a/frontends/ast/genrtlil.cc +++ b/frontends/ast/genrtlil.cc @@ -1342,7 +1342,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint) // be instantiated for this type of AST node. IdString type_name; - current_filename = filename; + // current_filename = filename; switch (type) { diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 05621d857..79e2c1eca 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -1036,7 +1036,7 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin return false; } - current_filename = filename; + // current_filename = filename; // we do not look inside a task or function // (but as soon as a task or function is instantiated we process the generated AST as usual) @@ -1844,7 +1844,7 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin current_scope[it->first] = it->second; } - current_filename = filename; + // current_filename = filename; if (type == AST_MODULE || type == AST_INTERFACE) current_scope.clear();