forked from OSchip/llvm-project
parent
ec9d2633f1
commit
ac546dc62e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue