commit | ac5a6ad0b05dd5c76fd2f2d05c285d25ef4d4717 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 16 01:24:10 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 16 01:24:10 2010 +0000 |
tree | f63dbdbeffa3cf6faab2a437ca78df6aebbf3eda | |
parent | 0e9e07a489e145b088b53551f285a1e7c4ed49e9 [diff] |
CurrentFnName is now dead, remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93612 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ } void AsmPrinter::SetupMachineFunction(MachineFunction &MF) { - // What's my mangled name? - CurrentFnName = Mang->getMangledName(MF.getFunction()); + // Get the function symbol. CurrentFnSym = GetGlobalValueSymbol(MF.getFunction()); IncrementFunctionNumber();