summaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-14 15:54:24 +0000
committerChris Lattner <sabre@nondot.org>2005-01-14 15:54:24 +0000
commit8f1d6402ba73b96993ffd1eb9434b28c828d8856 (patch)
tree657c88212b96f45e6b1775d50af310c75f28fa1a /lib/CodeGen/VirtRegMap.cpp
parent9a791eaf8f6d2cb98d0011fe2cb27f426811554d (diff)
downloadllvm-8f1d6402ba73b96993ffd1eb9434b28c828d8856.tar.gz
llvm-8f1d6402ba73b96993ffd1eb9434b28c828d8856.tar.bz2
llvm-8f1d6402ba73b96993ffd1eb9434b28c828d8856.tar.xz
Improve compatibility with acc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--lib/CodeGen/VirtRegMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index 39707dbfec..c72c18a94c 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/lib/CodeGen/VirtRegMap.cpp
@@ -438,8 +438,8 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, const VirtRegMap &VRM) {
// If we have folded references to memory operands, make sure we clear all
// physical registers that may contain the value of the spilled virtual
// register
- VirtRegMap::MI2VirtMapTy::const_iterator I, E;
- for (tie(I, E) = VRM.getFoldedVirts(&MI); I != E; ++I) {
+ VirtRegMap::MI2VirtMapTy::const_iterator I, End;
+ for (tie(I, End) = VRM.getFoldedVirts(&MI); I != End; ++I) {
DEBUG(std::cerr << "Folded vreg: " << I->second.first << " MR: "
<< I->second.second);
unsigned VirtReg = I->second.first;