commit | 412c3a5bc9e70fe8579551216786e70d323a3dd5 | [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 | ef4e536c7e6c4709d6def3b183ccd5e02858521e [diff] [blame] |
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();