diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-16 01:24:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-16 01:24:10 +0000 |
commit | a091179b5fa6cd5d37ddc81de72e4b3af818c692 (patch) | |
tree | 187866ec950fdfdc5ada48849cafe81a543fab50 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | dbfd16014af6d9a973dd72ea930c290202178d10 (diff) | |
download | bcm5719-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.cpp | 3 |
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(); |