diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-08-04 23:50:43 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-08-04 23:50:43 +0000 |
commit | c523f4c09647bfa17c3d209cf8333522bc3c069d (patch) | |
tree | dd2301dfc5f44e911be03256572a56a428fa381a /lib/VMCore | |
parent | a83ba0f5c934e2cdbb5724cab365ecc0b5aae6c6 (diff) | |
download | external_llvm-c523f4c09647bfa17c3d209cf8333522bc3c069d.zip external_llvm-c523f4c09647bfa17c3d209cf8333522bc3c069d.tar.gz external_llvm-c523f4c09647bfa17c3d209cf8333522bc3c069d.tar.bz2 |
Add an extra parameter that Chris requested
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index e454d6b..035edb3 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -135,7 +135,7 @@ void PHINode::resizeOperands(unsigned NumOps) { /// hasConstantValue - If the specified PHI node always merges together the same /// value, return the value, otherwise return null. /// -Value *PHINode::hasConstantValue() { +Value *PHINode::hasConstantValue(bool AllowNonDominatingInstruction) { // If the PHI node only has one incoming value, eliminate the PHI node... if (getNumIncomingValues() == 1) return getIncomingValue(0); |