From 1a787842056933c601426a4f1e8086fdaf2b3d13 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Tue, 23 Feb 2016 11:58:27 +0000 Subject: [PATCH] Removed some dead code. --- elaborate.cc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/elaborate.cc b/elaborate.cc index 02da27c44..49fee42dc 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -105,24 +105,6 @@ void PGAssign::elaborate(Design*des, NetScope*scope) const return; } -#if 0 - // MTW, 01-Mar-2013. The expression elaboration rework should have - // ensured that this can no longer occur. Leaving this here for the - // moment, but it should be safe to remove it. - if (type_is_vectorable(rval_expr->expr_type()) - && type_is_vectorable(lval->data_type()) - && rval_expr->expr_width() < lval->vector_width()) { - if (debug_elaborate) { - cerr << get_fileline() << ": debug: " - << "r-value expressions width "<expr_width() - << " of " << (rval_expr->has_sign()? "signed":"unsigned") - << " expression is to small for l-value width " - << lval->vector_width() << "." << endl; - } - rval_expr = pad_to_width(rval_expr, lval->vector_width(), *this); - } -#endif - NetNet*rval = rval_expr->synthesize(des, scope, rval_expr); if (rval == 0) {