From 8f1d6402ba73b96993ffd1eb9434b28c828d8856 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 14 Jan 2005 15:54:24 +0000 Subject: [PATCH] Improve compatibility with acc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19549 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/VirtRegMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index 39707dbfec2..c72c18a94c0 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;