diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
commit | 1465d61bdd36cfd6021036a527895f0dd358e97d (patch) | |
tree | 5a066582fade4aa68d9608de87fb15a0400fe12a /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | e02f724880ddb7ffe296cda3ffb9822761a13ce7 (diff) | |
download | external_llvm-1465d61bdd36cfd6021036a527895f0dd358e97d.zip external_llvm-1465d61bdd36cfd6021036a527895f0dd358e97d.tar.gz external_llvm-1465d61bdd36cfd6021036a527895f0dd358e97d.tar.bz2 |
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index e09411a..9e0afc8 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -737,8 +737,8 @@ bool X86ATTAsmPrinter::doInitialization(Module &M) { // Let PassManager know we need debug information and relay // the MachineModuleInfo address on to DwarfWriter. // AsmPrinter::doInitialization did this analysis. - MMI = getAnalysisToUpdate<MachineModuleInfo>(); - DW = getAnalysisToUpdate<DwarfWriter>(); + MMI = getAnalysisIfAvailable<MachineModuleInfo>(); + DW = getAnalysisIfAvailable<DwarfWriter>(); DW->BeginModule(&M, MMI, O, this, TAI); } @@ -975,7 +975,7 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) { } // Emit final debug information. - DwarfWriter *DW = getAnalysisToUpdate<DwarfWriter>(); + DwarfWriter *DW = getAnalysisIfAvailable<DwarfWriter>(); DW->EndModule(); // Funny Darwin hack: This flag tells the linker that no global symbols @@ -995,11 +995,11 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) { } // Emit final debug information. - DwarfWriter *DW = getAnalysisToUpdate<DwarfWriter>(); + DwarfWriter *DW = getAnalysisIfAvailable<DwarfWriter>(); DW->EndModule(); } else if (Subtarget->isTargetELF()) { // Emit final debug information. - DwarfWriter *DW = getAnalysisToUpdate<DwarfWriter>(); + DwarfWriter *DW = getAnalysisIfAvailable<DwarfWriter>(); DW->EndModule(); } |