Typos.
authorEric Christopher <echristo@apple.com>
Mon, 7 Mar 2011 22:48:16 +0000 (22:48 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 7 Mar 2011 22:48:16 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127186 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index 3864ffd50a192d09908d8da39f9c9f0ba96db549..a303dbbec0fd43e665923003f4b29bc9a239e5ad 100644 (file)
@@ -356,7 +356,7 @@ namespace llvm {
     void removePred(const SDep &D);
 
     /// getDepth - Return the depth of this node, which is the length of the
-    /// maximum path up to any node with has no predecessors.
+    /// maximum path up to any node which has no predecessors.
     unsigned getDepth() const {
       if (!isDepthCurrent)
         const_cast<SUnit *>(this)->ComputeDepth();
@@ -364,7 +364,7 @@ namespace llvm {
     }
 
     /// getHeight - Return the height of this node, which is the length of the
-    /// maximum path down to any node with has no successors.
+    /// maximum path down to any node which has no successors.
     unsigned getHeight() const {
       if (!isHeightCurrent)
         const_cast<SUnit *>(this)->ComputeHeight();