summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/IR/ValueSymbolTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/IR/ValueSymbolTable.cpp')
-rw-r--r--contrib/llvm/lib/IR/ValueSymbolTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/IR/ValueSymbolTable.cpp b/contrib/llvm/lib/IR/ValueSymbolTable.cpp
index 4f078f0..e10142d 100644
--- a/contrib/llvm/lib/IR/ValueSymbolTable.cpp
+++ b/contrib/llvm/lib/IR/ValueSymbolTable.cpp
@@ -53,7 +53,7 @@ void ValueSymbolTable::reinsertValue(Value* V) {
while (1) {
// Trim any suffix off and append the next number.
UniqueName.resize(BaseSize);
- raw_svector_ostream(UniqueName) << ++LastUnique;
+ raw_svector_ostream(UniqueName) << "." << ++LastUnique;
// Try insert the vmap entry with this suffix.
auto IterBool = vmap.insert(std::make_pair(UniqueName, V));
OpenPOWER on IntegriCloud