mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[X86] Sink X86AsmPrinter ctor into .cpp file, NFC
I keep adding and removing code here, so let's sink it. llvm-svn: 315534
This commit is contained in:
parent
4963aceaec
commit
c2f5a575b7
@ -41,6 +41,10 @@
|
||||
#include "llvm/Support/TargetRegistry.h"
|
||||
using namespace llvm;
|
||||
|
||||
X86AsmPrinter::X86AsmPrinter(TargetMachine &TM,
|
||||
std::unique_ptr<MCStreamer> Streamer)
|
||||
: AsmPrinter(TM, std::move(Streamer)), SM(*this), FM(*this) {}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Primitive Helper Functions.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -104,9 +104,7 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
|
||||
void EmitSEHInstruction(const MachineInstr *MI);
|
||||
|
||||
public:
|
||||
explicit X86AsmPrinter(TargetMachine &TM,
|
||||
std::unique_ptr<MCStreamer> Streamer)
|
||||
: AsmPrinter(TM, std::move(Streamer)), SM(*this), FM(*this) {}
|
||||
X86AsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer);
|
||||
|
||||
StringRef getPassName() const override {
|
||||
return "X86 Assembly Printer";
|
||||
|
Loading…
Reference in New Issue
Block a user