aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Instructions.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-05 00:49:06 +0000
committerChris Lattner <sabre@nondot.org>2005-08-05 00:49:06 +0000
commit9acbd611ec13fabf3c13f20161c0de576ea1ad60 (patch)
tree2d18c67ae7a19fbdee71caf4872fad9a6c3373cf /include/llvm/Instructions.h
parentc523f4c09647bfa17c3d209cf8333522bc3c069d (diff)
downloadexternal_llvm-9acbd611ec13fabf3c13f20161c0de576ea1ad60.tar.gz
external_llvm-9acbd611ec13fabf3c13f20161c0de576ea1ad60.tar.bz2
external_llvm-9acbd611ec13fabf3c13f20161c0de576ea1ad60.zip
Mark hasConstantValue as a const method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index b2d055bf3b..538c31ed1f 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -807,7 +807,7 @@ public:
/// 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; }