aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-03 07:30:40 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-03 07:30:40 +0000
commit08a87f4a75594916fe9fe7f03330315c6dadba6f (patch)
treea43a489170e035afb34131821e598f9bd47ad1b8 /lib/CodeGen/CGVtable.cpp
parent5e96f9d983d3996d65c1ee85168dc2134f5132f1 (diff)
Attempt to fix the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r--lib/CodeGen/CGVtable.cpp8
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.