diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-14 01:43:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-14 01:43:38 +0000 |
commit | 65b0b297db16252835ab4d78f33578baa3ace28a (patch) | |
tree | 3135717ffdfa96e136c0d2fd8d4109a3907a0f5f /lib/MC | |
parent | f92c95f3070f2f797987d2b753780a3a5e482351 (diff) |
add a new MCInstPrinter class, move the (trivial) MCDisassmbler ctor inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCDisassembler.cpp | 3 | ||||
-rw-r--r-- | lib/MC/MCInstPrinter.cpp | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/lib/MC/MCDisassembler.cpp b/lib/MC/MCDisassembler.cpp index 5d0f4c5034..0985602810 100644 --- a/lib/MC/MCDisassembler.cpp +++ b/lib/MC/MCDisassembler.cpp @@ -10,8 +10,5 @@ #include "llvm/MC/MCDisassembler.h" using namespace llvm; -MCDisassembler::MCDisassembler() { -} - MCDisassembler::~MCDisassembler() { }
\ No newline at end of file diff --git a/lib/MC/MCInstPrinter.cpp b/lib/MC/MCInstPrinter.cpp new file mode 100644 index 0000000000..6c33216d53 --- /dev/null +++ b/lib/MC/MCInstPrinter.cpp @@ -0,0 +1,14 @@ +//===-- MCInstPrinter.cpp - Convert an MCInst to target assembly syntax ---===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "llvm/MC/MCInstPrinter.h" +using namespace llvm; + +MCInstPrinter::~MCInstPrinter() { +}
\ No newline at end of file |