[llvm-commits] CVS: llvm/include/llvm/CodeGen/ScheduleDAG.h

Evan Cheng evan.cheng at apple.com
Wed Jan 25 16:28:47 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

ScheduleDAG.h updated: 1.6 -> 1.7
---
Log message:

Duh.


---
Diffs of the changes:  (+2 -2)

 ScheduleDAG.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/CodeGen/ScheduleDAG.h
diff -u llvm/include/llvm/CodeGen/ScheduleDAG.h:1.6 llvm/include/llvm/CodeGen/ScheduleDAG.h:1.7
--- llvm/include/llvm/CodeGen/ScheduleDAG.h:1.6	Wed Jan 25 12:54:24 2006
+++ llvm/include/llvm/CodeGen/ScheduleDAG.h	Wed Jan 25 18:28:35 2006
@@ -63,8 +63,8 @@
   
     // Accessors
     inline void setDominator(NodeInfo *D) { Dominator = D; }
-    inline NodeInfo *getTop() { return Members[0]; }
-    inline NodeInfo *getBottom() { return Members[Members.size()-1]; }
+    inline NodeInfo *getTop() { return Members.front(); }
+    inline NodeInfo *getBottom() { return Members.back(); }
     inline NodeInfo *getDominator() { return Dominator; }
     inline void setLatency(unsigned L) { Latency = L; }
     inline unsigned getLatency() { return Latency; }






More information about the llvm-commits mailing list