diff options
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 39707dbfec2..c72c18a94c0 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/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; | 

