Remove <iostream>.
[oota-llvm.git] / lib / VMCore / ValueSymbolTable.cpp
index eae3bf28003fc0aad2b30e06640a496972ddc158..525f3f04d010ee617749cae3b06ef7b175d8a908 100644 (file)
@@ -43,7 +43,7 @@ void ValueSymbolTable::reinsertValue(Value* V) {
   }
   
   // Otherwise, there is a naming conflict.  Rename this value.
-  SmallString<128> UniqueName(V->getNameStart(), V->getNameEnd());
+  SmallString<128> UniqueName(V->getName().begin(), V->getName().end());
 
   // The name is too already used, just free it so we can allocate a new name.
   V->Name->Destroy();