Revert "Update vtype.cc"

This reverts commit 49515ff62b.
This commit is contained in:
Stephen Williams 2016-07-05 07:56:06 -07:00
parent 70031c9d0f
commit f657d1d7d7
1 changed files with 1 additions and 4 deletions

View File

@ -119,10 +119,7 @@ VTypeArray::VTypeArray(const VType*element, std::list<ExpRange*>*r, bool sv)
for (size_t idx = 0 ; idx < ranges_.size() ; idx += 1) {
ExpRange*curp = r->front();
r->pop_front();
ranges_[idx] = range_t(curp->msb(), curp->lsb(),
(curp->direction() == ExpRange::range_dir_t::DOWNTO
? true
: false));
ranges_[idx] = range_t(curp->msb(), curp->lsb(), curp->direction());
}
}