Attempt to fix the MSVC build.

llvm-svn: 90427
This commit is contained in:
Anders Carlsson 2009-12-03 07:30:40 +00:00
parent 0905b7f3be
commit c6089fda20
1 changed files with 4 additions and 4 deletions

View 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.