Skip to content
Snippets Groups Projects
Commit d17dbe9d authored by Chris Lattner's avatar Chris Lattner
Browse files

update comment.

llvm-svn: 33992
parent b2fa25c8
No related branches found
No related tags found
No related merge requests found
...@@ -78,12 +78,12 @@ void ValueSymbolTable::insert(Value* V) { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment