ivl: Fixed indentations.

This commit is contained in:
Maciej Suminski 2014-11-05 16:46:55 +01:00
parent 21c8b8ca5a
commit 103828577b
1 changed files with 12 additions and 12 deletions

View File

@ -2475,22 +2475,22 @@ unsigned PECastType::test_width(Design*des, NetScope*scope, width_mode_t&wid)
NetExpr* PECastType::elaborate_expr(Design*des, NetScope*scope, NetExpr* PECastType::elaborate_expr(Design*des, NetScope*scope,
unsigned, unsigned) const unsigned, unsigned) const
{ {
NetExpr*expr = base_->elaborate_expr(des, scope, base_->expr_width(), NO_FLAGS); NetExpr*expr = base_->elaborate_expr(des, scope, base_->expr_width(), NO_FLAGS);
if(dynamic_cast<const real_type_t*>(target_)) if(dynamic_cast<const real_type_t*>(target_))
{ {
return cast_to_real(expr); return cast_to_real(expr);
} }
if(dynamic_cast<const atom2_type_t*>(target_)) if(dynamic_cast<const atom2_type_t*>(target_))
{ {
return cast_to_int2(expr, expr_width_); return cast_to_int2(expr, expr_width_);
} }
cerr << get_fileline() << "sorry: I don't know how to cast expression." << endl; cerr << get_fileline() << "sorry: I don't know how to cast expression." << endl;
ivl_assert(*this, false); ivl_assert(*this, false);
return expr; return expr;
} }
unsigned PEConcat::test_width(Design*des, NetScope*scope, width_mode_t&) unsigned PEConcat::test_width(Design*des, NetScope*scope, width_mode_t&)