summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-10 19:16:26 +0000
committerChris Lattner <sabre@nondot.org>2004-01-10 19:16:26 +0000
commitae7fc3aede6205be456739f35e1ebfb7bfd2bd40 (patch)
treee6d981e1d5d2c8394f6a3728f6396a05ffbc2916
parente275fe834aefebc1b0e53c02c8915805b301379d (diff)
downloadllvm-ae7fc3aede6205be456739f35e1ebfb7bfd2bd40.tar.gz
llvm-ae7fc3aede6205be456739f35e1ebfb7bfd2bd40.tar.bz2
llvm-ae7fc3aede6205be456739f35e1ebfb7bfd2bd40.tar.xz
Remove use of llvm/CodeGen/InstrSelection.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10749 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/MachineCodeForInstruction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineCodeForInstruction.cpp b/lib/CodeGen/MachineCodeForInstruction.cpp
index a0982fe274..50a54099c5 100644
--- a/lib/CodeGen/MachineCodeForInstruction.cpp
+++ b/lib/CodeGen/MachineCodeForInstruction.cpp
@@ -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();
}