Minor cleanup related to my latest scheduler changes.
[oota-llvm.git] / include / llvm / CodeGen / ScheduleDAG.h
index 69aec43920493fc4184238a3155ac33727ac29fa..b3d05c700ac0f17f14a2353f5b4b7203bdb96559 100644 (file)
@@ -328,7 +328,7 @@ namespace llvm {
 
     /// isInstr - Return true if this SUnit refers to a machine instruction as
     /// opposed to an SDNode.
-    bool isInstr() const { return !Node; }
+    bool isInstr() const { return Instr; }
 
     /// setInstr - Assign the instruction for the SUnit.
     /// This may be used during post-regalloc scheduling.