Remove use of llvm/CodeGen/InstrSelection.h
authorChris Lattner <sabre@nondot.org>
Sat, 10 Jan 2004 19:16:26 +0000 (19:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Jan 2004 19:16:26 +0000 (19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10749 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineCodeForInstruction.cpp

index a0982fe2748c9e1e8088b0b7aab8e203339978c0..50a54099c5c3cf91a2cdcc2526075d164ea1fc86 100644 (file)
@@ -25,7 +25,7 @@
 #include "llvm/CodeGen/MachineCodeForInstruction.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/MachineInstrAnnot.h"
-#include "llvm/CodeGen/InstrSelection.h"
+#include "llvm/Instruction.h"
 using namespace llvm;
 
 AnnotationID llvm::MCFI_AID(
@@ -48,7 +48,7 @@ void
 MachineCodeForInstruction::dropAllReferences()
 {
   for (unsigned i=0, N=tempVec.size(); i < N; i++)
-    cast<TmpInstruction>(tempVec[i])->dropAllReferences();
+    cast<Instruction>(tempVec[i])->dropAllReferences();
 }