rename getValueName -> getMangledName
authorChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 06:19:21 +0000 (06:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 06:19:21 +0000 (06:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75617 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CBackend/CBackend.cpp

index c3c2b0ed43fc63ec9d6c0fd5d77b228aa4b8b921..38ce21827ff3a06e40906392815d72295fc67f72 100644 (file)
@@ -1432,7 +1432,7 @@ void CWriter::printConstantWithCast(Constant* CPV, unsigned Opcode) {
 std::string CWriter::GetValueName(const Value *Operand) {
   // Mangle globals with the standard mangler interface for LLC compatibility.
   if (const GlobalValue *GV = dyn_cast<GlobalValue>(Operand))
-    return Mang->getValueName(GV);
+    return Mang->getMangledName(GV);
     
   std::string Name = Operand->getName();