Don't blow up constants unneccessarily in Verilog frontend

This commit is contained in:
Clifford Wolf 2014-02-24 12:41:25 +01:00
parent dab1612f81
commit 6bc94b7eb2
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
detectSignWidth(width_hint, sign_hint);
is_signed = sign_hint;
return RTLIL::SigSpec(bitsAsConst(width_hint, sign_hint));
return RTLIL::SigSpec(bitsAsConst());
}
// simply return the corresponding RTLIL::SigSpec for an AST_IDENTIFIER node