summaryrefslogtreecommitdiff
path: root/include/llvm/GlobalValue.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/GlobalValue.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/GlobalValue.h')
-rw-r--r--include/llvm/GlobalValue.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index d77a4dbdb3..d0f0888a22 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -258,10 +258,6 @@ public:
/// @}
- /// Override from Constant class. No GlobalValue's are null values so this
- /// always returns false.
- virtual bool isNullValue() const { return false; }
-
/// Override from Constant class.
virtual void destroyConstant();