summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
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
commita091179b5fa6cd5d37ddc81de72e4b3af818c692 (patch)
tree187866ec950fdfdc5ada48849cafe81a543fab50 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentdbfd16014af6d9a973dd72ea930c290202178d10 (diff)
downloadbcm5719-llvm-a091179b5fa6cd5d37ddc81de72e4b3af818c692.tar.gz
bcm5719-llvm-a091179b5fa6cd5d37ddc81de72e4b3af818c692.zip
CurrentFnName is now dead, remove it.
llvm-svn: 93612
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 577d173ff13..dd25437a20f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud