[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp

Nate Begeman natebegeman at mac.com
Thu Aug 4 16:50:55 PDT 2005



Changes in directory llvm/lib/VMCore:

Instructions.cpp updated: 1.21 -> 1.22
---
Log message:

Add an extra parameter that Chris requested


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

 Instructions.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/Instructions.cpp
diff -u llvm/lib/VMCore/Instructions.cpp:1.21 llvm/lib/VMCore/Instructions.cpp:1.22
--- llvm/lib/VMCore/Instructions.cpp:1.21	Thu Aug  4 18:24:19 2005
+++ llvm/lib/VMCore/Instructions.cpp	Thu Aug  4 18:50:43 2005
@@ -135,7 +135,7 @@
 /// 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);






More information about the llvm-commits mailing list