update comment.
authorChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 06:25:36 +0000 (06:25 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 06:25:36 +0000 (06:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33992 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/ValueSymbolTable.cpp

index 142b9f9f085ef98efee52ac3a6fbafe128f9975b..101212eaa665bafa476fbbd477e9a81afe100a43 100644 (file)
@@ -78,12 +78,12 @@ void ValueSymbolTable::insert(Value* V) {
     // 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