diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-05 00:49:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-05 00:49:06 +0000 |
commit | 9acbd611ec13fabf3c13f20161c0de576ea1ad60 (patch) | |
tree | 2d18c67ae7a19fbdee71caf4872fad9a6c3373cf /include/llvm/Instructions.h | |
parent | c523f4c09647bfa17c3d209cf8333522bc3c069d (diff) | |
download | external_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.h | 2 |
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; } |