[llvm-commits] CVS: llvm/lib/CodeGen/MachineCodeForInstruction.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 10 13:17:01 PST 2004


Changes in directory llvm/lib/CodeGen:

MachineCodeForInstruction.cpp updated: 1.10 -> 1.11

---
Log message:

Remove use of llvm/CodeGen/InstrSelection.h


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/CodeGen/MachineCodeForInstruction.cpp
diff -u llvm/lib/CodeGen/MachineCodeForInstruction.cpp:1.10 llvm/lib/CodeGen/MachineCodeForInstruction.cpp:1.11
--- llvm/lib/CodeGen/MachineCodeForInstruction.cpp:1.10	Fri Jan  9 00:30:18 2004
+++ llvm/lib/CodeGen/MachineCodeForInstruction.cpp	Sat Jan 10 13:16:26 2004
@@ -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 @@
 MachineCodeForInstruction::dropAllReferences()
 {
   for (unsigned i=0, N=tempVec.size(); i < N; i++)
-    cast<TmpInstruction>(tempVec[i])->dropAllReferences();
+    cast<Instruction>(tempVec[i])->dropAllReferences();
 }
 
 





More information about the llvm-commits mailing list