diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-16 00:35:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-16 00:35:39 +0000 |
commit | 6b99ae882bbc667f1b4797fcea1e81062d4a361c (patch) | |
tree | 27f1927606b37e2fcfd09b779f6dd988f8456174 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 6cc46577f439d0ebfa572804f74efeb573c1cfaf (diff) | |
download | bcm5719-llvm-6b99ae882bbc667f1b4797fcea1e81062d4a361c.tar.gz bcm5719-llvm-6b99ae882bbc667f1b4797fcea1e81062d4a361c.zip |
inline AsmPrinter::getCurrentFunctionEHName into its only caller.
llvm-svn: 81970
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index e5f0dba2b97..ef43c352acd 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -212,21 +212,13 @@ bool AsmPrinter::doFinalization(Module &M) { return false; } -std::string -AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF) const { - assert(MF && "No machine function?"); - return Mang->getMangledName(MF->getFunction(), ".eh", - MAI->is_EHSymbolPrivate()); -} - void AsmPrinter::SetupMachineFunction(MachineFunction &MF) { // What's my mangled name? CurrentFnName = Mang->getMangledName(MF.getFunction()); IncrementFunctionNumber(); - if (VerboseAsm) { + if (VerboseAsm) LI = &getAnalysis<MachineLoopInfo>(); - } } namespace { |