Reapply 53476 and 53480, with a fix so that it properly updates
[oota-llvm.git] / include / llvm / CodeGen / ScheduleDAG.h
index ed7801fbfc409b82dfe2528fef00eb9d80ad52e0..0225b1231e6835ea2fadd4d1f2557622a4de1d17 100644 (file)
@@ -265,7 +265,7 @@ namespace llvm {
   
     /// Run - perform scheduling.
     ///
-    MachineBasicBlock *Run();
+    void Run();
 
     /// isPassiveNode - Return true if the node is a non-scheduled leaf.
     ///
@@ -336,7 +336,7 @@ namespace llvm {
     ///
     void EmitNoop();
 
-    void EmitSchedule();
+    MachineBasicBlock *EmitSchedule();
 
     void dumpSchedule() const;