[llvm-commits] CVS: llvm/lib/VMCore/ValueSymbolTable.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 6 22:25:52 PST 2007
Changes in directory llvm/lib/VMCore:
ValueSymbolTable.cpp updated: 1.8 -> 1.9
---
Log message:
update comment.
---
Diffs of the changes: (+3 -3)
ValueSymbolTable.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore/ValueSymbolTable.cpp
diff -u llvm/lib/VMCore/ValueSymbolTable.cpp:1.8 llvm/lib/VMCore/ValueSymbolTable.cpp:1.9
--- llvm/lib/VMCore/ValueSymbolTable.cpp:1.8 Wed Feb 7 00:22:45 2007
+++ llvm/lib/VMCore/ValueSymbolTable.cpp Wed Feb 7 00:25:36 2007
@@ -78,12 +78,12 @@
// Trim any suffix off.
UniqueName.resize(BaseSize);
UniqueName += utostr(++LastUnique);
+ // Try insert the vmap entry with this suffix.
} while (!vmap.insert(make_pair(UniqueName, V)).second);
- DEBUG(DOUT << " Inserting value: " << UniqueName << ": " << *V << "\n");
-
- // Insert the vmap entry
V->Name = UniqueName;
+
+ DEBUG(DOUT << " Inserted value: " << UniqueName << ": " << *V << "\n");
}
// Remove a value
More information about the llvm-commits
mailing list