[llvm-commits] [llvm] r75617 - /llvm/trunk/lib/Target/CBackend/CBackend.cpp

Chris Lattner sabre at nondot.org
Mon Jul 13 23:19:22 PDT 2009


Author: lattner
Date: Tue Jul 14 01:19:21 2009
New Revision: 75617

URL: http://llvm.org/viewvc/llvm-project?rev=75617&view=rev
Log:
rename getValueName -> getMangledName

Modified:
    llvm/trunk/lib/Target/CBackend/CBackend.cpp

Modified: llvm/trunk/lib/Target/CBackend/CBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/CBackend.cpp?rev=75617&r1=75616&r2=75617&view=diff

==============================================================================
--- llvm/trunk/lib/Target/CBackend/CBackend.cpp (original)
+++ llvm/trunk/lib/Target/CBackend/CBackend.cpp Tue Jul 14 01:19:21 2009
@@ -1432,7 +1432,7 @@
 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();
     





More information about the llvm-commits mailing list