summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/ScheduleDAG.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-12-24 07:10:19 +0000
committerAndrew Trick <atrick@apple.com>2010-12-24 07:10:19 +0000
commita75ce9f5d2236d93c117e861e60e6f3f748c9555 (patch)
treebaae17f22a3131588d1775bbaa2807309e236d0f /include/llvm/CodeGen/ScheduleDAG.h
parent24312230ada6f4cfa8776351dafb12eea8a81b33 (diff)
downloadllvm-a75ce9f5d2236d93c117e861e60e6f3f748c9555.tar.gz
llvm-a75ce9f5d2236d93c117e861e60e6f3f748c9555.tar.bz2
llvm-a75ce9f5d2236d93c117e861e60e6f3f748c9555.tar.xz
Minor cleanup related to my latest scheduler changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ScheduleDAG.h')
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index 69aec43920..b3d05c700a 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -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.