diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-28 02:29:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 02:29:46 +0000 |
commit | bb49babe183eee2aa20a33277177a760b9b45cf2 (patch) | |
tree | c5b54c4ea450a8e33f566649b94049561e753c96 /llvm | |
parent | 9668c8c8dbb95c649b2d0284ca5ff7640fb3f2b3 (diff) | |
download | bcm5719-llvm-bb49babe183eee2aa20a33277177a760b9b45cf2.tar.gz bcm5719-llvm-bb49babe183eee2aa20a33277177a760b9b45cf2.zip |
Make MachineInstr.h not #include MachineInstrInfo.h
llvm-svn: 4328
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/CodeGen/InstrSelectionSupport.h | 1 | ||||
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineInstr.h | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/InstrSelectionSupport.h b/llvm/include/llvm/CodeGen/InstrSelectionSupport.h index b71e1c3ae33..e57c2902b52 100644 --- a/llvm/include/llvm/CodeGen/InstrSelectionSupport.h +++ b/llvm/include/llvm/CodeGen/InstrSelectionSupport.h @@ -10,6 +10,7 @@ #include "llvm/Instruction.h" #include "llvm/CodeGen/MachineInstr.h" +#include "Support/DataTypes.h" class InstructionNode; class TargetMachine; diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index ca9c3a3aecb..db8132bce4a 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/include/llvm/CodeGen/MachineInstr.h @@ -9,10 +9,16 @@ #ifndef LLVM_CODEGEN_MACHINEINSTR_H #define LLVM_CODEGEN_MACHINEINSTR_H -#include "llvm/Target/MachineInstrInfo.h" #include "llvm/Annotation.h" #include "Support/iterator" -class Instruction; +#include "Support/NonCopyable.h" +#include <vector> +class Value; +class Function; + +typedef int MachineOpCode; +typedef int OpCodeMask; +typedef int InstrSchedClass; //--------------------------------------------------------------------------- // class MachineOperand |