mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6a7a8585e
commit
b4d8d62345
@ -78,12 +78,12 @@ void ValueSymbolTable::insert(Value* V) {
|
|||||||
// Trim any suffix off.
|
// Trim any suffix off.
|
||||||
UniqueName.resize(BaseSize);
|
UniqueName.resize(BaseSize);
|
||||||
UniqueName += utostr(++LastUnique);
|
UniqueName += utostr(++LastUnique);
|
||||||
|
// Try insert the vmap entry with this suffix.
|
||||||
} while (!vmap.insert(make_pair(UniqueName, V)).second);
|
} while (!vmap.insert(make_pair(UniqueName, V)).second);
|
||||||
|
|
||||||
DEBUG(DOUT << " Inserting value: " << UniqueName << ": " << *V << "\n");
|
|
||||||
|
|
||||||
// Insert the vmap entry
|
|
||||||
V->Name = UniqueName;
|
V->Name = UniqueName;
|
||||||
|
|
||||||
|
DEBUG(DOUT << " Inserted value: " << UniqueName << ": " << *V << "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove a value
|
// Remove a value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user