diff options
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index aefe4cc088..25da95e273 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -268,11 +268,11 @@ public: // Check if there is an adjustment for the 'this' pointer. ThunkAdjustment ThisAdjustment; - ThunksMapTy::iterator i = Thunks.find(Index); - if (i != Thunks.end()) { - ThisAdjustment = i->second.Adjustment; + ThunksMapTy::iterator it = Thunks.find(Index); + if (it != Thunks.end()) { + ThisAdjustment = it->second.Adjustment; - Thunks.erase(i); + Thunks.erase(it); } // Construct the return adjustment. |