diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-10-19 17:59:19 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-10-19 17:59:19 +0000 | 
| commit | ee9399acaa4cb193ec62478e796834c33f3a74d1 (patch) | |
| tree | 5dca172b0619106f04f60805e48f0e42183e6b53 /llvm/lib/Target | |
| parent | a19596bf643469bb0a20fd9fb03b9f0dad683c57 (diff) | |
| download | bcm5719-llvm-ee9399acaa4cb193ec62478e796834c33f3a74d1.tar.gz bcm5719-llvm-ee9399acaa4cb193ec62478e796834c33f3a74d1.zip | |
cleanup doFinalization -> EmitEndOfAsmFile.
llvm-svn: 84508
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 546731b00d3..8cf0fd1b567 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -38,7 +38,6 @@  #include "llvm/ADT/SmallString.h"  #include "llvm/ADT/Statistic.h"  #include "llvm/ADT/StringSet.h" -#include "llvm/Support/Compiler.h"  #include "llvm/Support/ErrorHandling.h"  #include "llvm/Support/Mangler.h"  #include "llvm/Support/MathExtras.h" @@ -49,7 +48,7 @@ using namespace llvm;  STATISTIC(EmittedInsts, "Number of machine instrs printed");  namespace { -  class VISIBILITY_HIDDEN ARMAsmPrinter : public AsmPrinter { +  class ARMAsmPrinter : public AsmPrinter {      /// Subtarget - Keep a pointer to the ARMSubtarget around so that we can      /// make the right decision when printing asm code for different targets. @@ -149,8 +148,8 @@ namespace {      void printMachineInstruction(const MachineInstr *MI);      bool runOnMachineFunction(MachineFunction &F); -    bool doFinalization(Module &M);      void EmitStartOfAsmFile(Module &M); +    void EmitEndOfAsmFile(Module &M);      /// EmitMachineConstantPoolValue - Print a machine constantpool value to      /// the .s file. @@ -1256,7 +1255,7 @@ void ARMAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {  } -bool ARMAsmPrinter::doFinalization(Module &M) { +void ARMAsmPrinter::EmitEndOfAsmFile(Module &M) {    if (Subtarget->isTargetDarwin()) {      // All darwin targets use mach-o.      TargetLoweringObjectFileMachO &TLOFMacho = @@ -1294,8 +1293,6 @@ bool ARMAsmPrinter::doFinalization(Module &M) {      // generates code that does this, it is always safe to set.      O << "\t.subsections_via_symbols\n";    } - -  return AsmPrinter::doFinalization(M);  }  // Force static initialization. | 

