diff options
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 57181e32e1f..7306d86877c 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -170,7 +170,7 @@ void PHINode::resizeOperands(unsigned NumOps) { /// value dominates the PHI. If DT is null, use a conservative check, /// otherwise use DT to test for dominance. /// -Value *PHINode::hasConstantValue(DominatorTree *DT) const { +Value *PHINode::hasConstantValue(const DominatorTree *DT) const { // If the PHI node only has one incoming value, eliminate the PHI node. if (getNumIncomingValues() == 1) { if (getIncomingValue(0) != this) // not X = phi X |