From 032c6eb1c4d36a9e906f5efc0ada76c952225a4f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 15 Jul 2011 06:14:08 +0000 Subject: 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 --- include/llvm/Constant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Constant.h') 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. -- cgit v1.2.3