From e99c9acb84e6aa2163ae38614ed771816e04d716 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 7 Sep 2001 21:22:28 +0000 Subject: Remove unneeded #includes llvm-svn: 489 --- llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp') diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index fe039cc2a7b..c09f9fc24e5 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -18,24 +18,9 @@ * 7/30/01 - Vikram Adve - Created ***************************************************************************/ -//************************** System Include Files **************************/ - -#include -#include -#include -#include - -//*************************** 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 @@ SchedPriorities::getNextHighest(const SchedulingManager& S, // 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 @@ SchedPriorities::findSetWithMaxDelay(vector& mcands, 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++) -- cgit v1.2.3