summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-15 06:14:08 +0000
committerChris Lattner <sabre@nondot.org>2011-07-15 06:14:08 +0000
commit032c6eb1c4d36a9e906f5efc0ada76c952225a4f (patch)
tree20671f91b63c05bd9d2ea600cbab2ace61927cfb /include/llvm/Constant.h
parentc73b24db5f6226ed44ebc44ce1c25bb357206623 (diff)
downloadllvm-032c6eb1c4d36a9e906f5efc0ada76c952225a4f.tar.gz
llvm-032c6eb1c4d36a9e906f5efc0ada76c952225a4f.tar.bz2
llvm-032c6eb1c4d36a9e906f5efc0ada76c952225a4f.tar.xz
devirtualize Constant::isNullValue:
4 files changed, 15 insertions(+), 60 deletions(-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 95da9fc20c..5e351c4ec5 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -50,7 +50,7 @@ protected:
public:
/// isNullValue - Return true if this is the value that would be returned by
/// getNullValue.
- virtual bool isNullValue() const = 0;
+ bool isNullValue() const;
/// isNegativeZeroValue - Return true if the value is what would be returned
/// by getZeroValueForNegation.