aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 01:24:10 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 01:24:10 +0000
commit412c3a5bc9e70fe8579551216786e70d323a3dd5 (patch)
treef63dbdbeffa3cf6faab2a437ca78df6aebbf3eda /lib
parentef4e536c7e6c4709d6def3b183ccd5e02858521e (diff)
downloadexternal_llvm-412c3a5bc9e70fe8579551216786e70d323a3dd5.zip
external_llvm-412c3a5bc9e70fe8579551216786e70d323a3dd5.tar.gz
external_llvm-412c3a5bc9e70fe8579551216786e70d323a3dd5.tar.bz2
CurrentFnName is now dead, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 577d173..dd25437 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -231,8 +231,7 @@ bool AsmPrinter::doFinalization(Module &M) {
}
void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
- // What's my mangled name?
- CurrentFnName = Mang->getMangledName(MF.getFunction());
+ // Get the function symbol.
CurrentFnSym = GetGlobalValueSymbol(MF.getFunction());
IncrementFunctionNumber();