]> granicus.if.org Git - clang/commitdiff
Attempt to fix the MSVC build.
authorAnders Carlsson <andersca@mac.com>
Thu, 3 Dec 2009 07:30:40 +0000 (07:30 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 3 Dec 2009 07:30:40 +0000 (07:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90427 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGVtable.cpp

index aefe4cc08821bfdb7e68bb5a498e18e561e565ea..25da95e273c199a67a5fe855f276cca04f2c695a 100644 (file)
@@ -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.