mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 08:29:43 +00:00
Disambiguated variable name to comply with VC++'s archaic variable scoping rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3faa173448
commit
0fcf68a5e0
@ -122,13 +122,13 @@ void Deserializer::ReadPtr(void*& PtrRef) {
|
||||
void Deserializer::BackpatchPointers() {
|
||||
for (MapTy::iterator I=BPatchMap.begin(),E=BPatchMap.end(); I!=E; ++I) {
|
||||
|
||||
BPatchEntry& E = I->second;
|
||||
assert (E.Ptr && "No pointer found for backpatch.");
|
||||
BPatchEntry& Entry = I->second;
|
||||
assert (Entry.Ptr && "No pointer found for backpatch.");
|
||||
|
||||
for (BPatchNode* N = E.Head; N != NULL; N = N->Next)
|
||||
N->PtrRef = E.Ptr;
|
||||
for (BPatchNode* N = Entry.Head; N != NULL; N = N->Next)
|
||||
N->PtrRef = Entry.Ptr;
|
||||
|
||||
E.Head = NULL;
|
||||
Entry.Head = NULL;
|
||||
}
|
||||
|
||||
Allocator.Reset();
|
||||
|
Loading…
Reference in New Issue
Block a user