Get rid of the EdgeMapping map. Instead, just check for BasicBlock
[oota-llvm.git] / lib / CodeGen / ScheduleDAGInstrs.cpp
index e8821ae28a4d375444b2e1ab49625511063d816f..ca235c3179ac339e27ab240ab75974ba70922bf6 100644 (file)
@@ -572,8 +572,7 @@ std::string ScheduleDAGInstrs::getGraphNodeLabel(const SUnit *SU) const {
 }
 
 // EmitSchedule - Emit the machine code in scheduled order.
-MachineBasicBlock *ScheduleDAGInstrs::
-EmitSchedule(DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM) {
+MachineBasicBlock *ScheduleDAGInstrs::EmitSchedule() {
   // For MachineInstr-based scheduling, we're rescheduling the instructions in
   // the block, so start by removing them from the block.
   while (Begin != InsertPos) {