Remove unneeded #includes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@489 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.cpp b/lib/CodeGen/InstrSched/SchedPriorities.cpp
index fe039cc..c09f9fc 100644
--- a/lib/CodeGen/InstrSched/SchedPriorities.cpp
+++ b/lib/CodeGen/InstrSched/SchedPriorities.cpp
@@ -18,24 +18,9 @@
  *	7/30/01	 -  Vikram Adve  -  Created
  ***************************************************************************/
 
-//************************** System Include Files **************************/
-
-#include <hash_map>
-#include <vector>
-#include <algorithm>
-#include <sys/types.h>
-
-//*************************** User Include Files ***************************/
-
-#include "llvm/Method.h"
-#include "llvm/CodeGen/MachineInstr.h"
-#include "llvm/CodeGen/InstrScheduling.h"
 #include "llvm/CodeGen/SchedPriorities.h"
 
-//************************* Forward Declarations ***************************/
 
-
-/*ctor*/
 SchedPriorities::SchedPriorities(const Method* method,
 				 const SchedGraph* _graph)
   : curTime(0),
@@ -219,7 +204,7 @@
       // it becomes empty.
       nextChoice = candsAsHeap.getNode(mcands[nextIdx]);
       if (getEarliestForNodeRef(nextChoice) > curTime
-	  || ! instrIsFeasible(S, nextChoice->getOpCode()))
+	  || ! instrIsFeasible(S, nextChoice->getMachineInstr()->getOpCode()))
 	{
 	  mcands.erase(mcands.begin() + nextIdx);
 	  nextIdx = -1;
@@ -255,8 +240,7 @@
       
       if (SchedDebugLevel >= Sched_PrintSchedTrace)
 	{
-	  printIndent(2);
-	  cout << "Cycle " << this->getTime() << ": "
+	  cout << "    Cycle " << this->getTime() << ": "
 	       << "Next highest delay = " << maxDelay << " : "
 	       << mcands.size() << " Nodes with this delay: ";
 	  for (unsigned i=0; i < mcands.size(); i++)