X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FTargetInstrInfo.cpp;h=b14156a937712e5ca87d6d2440862b782fb25707;hb=0dc20dda5b905c68deb0f0c46a8df6e67f139c3d;hp=115f2c2a7c353bb06fe5c4e4eac0c06190630451;hpb=adc101bbcd39a276c37d7ca1b20526c1016379b4;p=oota-llvm.git diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp index 115f2c2a7c3..b14156a9377 100644 --- a/lib/Target/TargetInstrInfo.cpp +++ b/lib/Target/TargetInstrInfo.cpp @@ -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,10 @@ MachineInstrInfo::~MachineInstrInfo() { TargetInstrDescriptors = NULL; // reset global variable } +void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O, + const TargetMachine &TM) const { + MI->print(O, TM); +} bool MachineInstrInfo::constantFitsInImmedField(MachineOpCode opCode, int64_t intValue) const {