[llvm-commits] CVS: llvm/include/llvm/Instructions.h

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 4 17:49:18 PDT 2005



Changes in directory llvm/include/llvm:

Instructions.h updated: 1.26 -> 1.27
---
Log message:

Mark hasConstantValue as a const method


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

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


Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.26 llvm/include/llvm/Instructions.h:1.27
--- llvm/include/llvm/Instructions.h:1.26	Thu Aug  4 18:50:43 2005
+++ llvm/include/llvm/Instructions.h	Thu Aug  4 19:49:06 2005
@@ -807,7 +807,7 @@
   /// hasConstantValue - If the specified PHI node always merges together the 
   /// same value, return the value, otherwise return null.
   ///
-  Value *hasConstantValue(bool AllowNonDominatingInstruction = false);
+  Value *hasConstantValue(bool AllowNonDominatingInstruction = false) const;
   
   /// Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const PHINode *) { return true; }






More information about the llvm-commits mailing list