forked from OSchip/llvm-project
Add default implementation of printing interface
llvm-svn: 4727
This commit is contained in:
parent
be5ef9028b
commit
8693803b48
|
@ -1,11 +1,10 @@
|
|||
//===-- TargetMachine.cpp - General Target Information ---------------------==//
|
||||
//===-- MachineInstrInfo.cpp - Target Instruction Information -------------===//
|
||||
//
|
||||
// This file describes the general parts of a Target machine.
|
||||
// This file also implements MachineInstrInfo and MachineCacheInfo.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Target/MachineInstrInfo.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/Constant.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
|
||||
|
@ -34,6 +33,9 @@ MachineInstrInfo::~MachineInstrInfo() {
|
|||
TargetInstrDescriptors = NULL; // reset global variable
|
||||
}
|
||||
|
||||
void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O) const {
|
||||
O << *MI;
|
||||
}
|
||||
|
||||
bool MachineInstrInfo::constantFitsInImmedField(MachineOpCode opCode,
|
||||
int64_t intValue) const {
|
||||
|
|
Loading…
Reference in New Issue