aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index dbed7973fc..4a55df1893 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -123,23 +123,6 @@ namespace {
std::cerr << mri_->getName(reg) << '\n';
}
}
-
-// void verifyAssignment() const {
-// for (Virt2PhysMap::const_iterator i = v2pMap_.begin(),
-// e = v2pMap_.end(); i != e; ++i)
-// for (Virt2PhysMap::const_iterator i2 = next(i); i2 != e; ++i2)
-// if (MRegisterInfo::isVirtualRegister(i->second) &&
-// (i->second == i2->second ||
-// mri_->areAliases(i->second, i2->second))) {
-// const Interval
-// &in = li_->getInterval(i->second),
-// &in2 = li_->getInterval(i2->second);
-// if (in.overlaps(in2)) {
-// std::cerr << in << " overlaps " << in2 << '\n';
-// assert(0);
-// }
-// }
-// }
};
}