[cfe-commits] r90427 - /cfe/trunk/lib/CodeGen/CGVtable.cpp

Anders Carlsson andersca at mac.com
Wed Dec 2 23:30:41 PST 2009


Author: andersca
Date: Thu Dec  3 01:30:40 2009
New Revision: 90427

URL: http://llvm.org/viewvc/llvm-project?rev=90427&view=rev
Log:
Attempt to fix the MSVC build.

Modified:
    cfe/trunk/lib/CodeGen/CGVtable.cpp

Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=90427&r1=90426&r2=90427&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Thu Dec  3 01:30:40 2009
@@ -268,11 +268,11 @@
       
       // 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.





More information about the cfe-commits mailing list