From 4b770c20778ccb5d2f304fa73e0522a7ab8c4623 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 27 Aug 2009 07:57:12 +0000 Subject: Add {MCInst,MCOperand}::{print,dump} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80231 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCInst.cpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 lib/MC/MCInst.cpp (limited to 'lib/MC/MCInst.cpp') diff --git a/lib/MC/MCInst.cpp b/lib/MC/MCInst.cpp new file mode 100644 index 0000000000..469dc7975e --- /dev/null +++ b/lib/MC/MCInst.cpp @@ -0,0 +1,52 @@ +//===- lib/MC/MCInst.cpp - MCInst implementation --------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "llvm/MC/MCInst.h" +#include "llvm/Support/raw_ostream.h" + +using namespace llvm; + +void MCOperand::print(raw_ostream &OS) const { + OS << ""; +} + +void MCOperand::dump() const { + print(errs()); + errs() << "\n"; +} + +void MCInst::print(raw_ostream &OS) const { + OS << ""; +} + +void MCInst::dump() const { + print(errs()); + errs() << "\n"; +} -- cgit v1.2.3-18-g5258