Make MachineInstr.h not #include MachineInstrInfo.h
authorChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 02:29:46 +0000 (02:29 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 02:29:46 +0000 (02:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4328 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrSelectionSupport.h
include/llvm/CodeGen/MachineInstr.h

index b71e1c3ae33c54602006ef3bf6170cfe8f8c060d..e57c2902b522e681feac912923c200114aa7d1ad 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "llvm/Instruction.h"
 #include "llvm/CodeGen/MachineInstr.h"
+#include "Support/DataTypes.h"
 class InstructionNode;
 class TargetMachine;
 
index ca9c3a3aecb661fe16732c73cb553f751933b0b2..db8132bce4a2c93452ebfa48340cd690a4425b07 100644 (file)
@@ -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