aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/BasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 19:55:58 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 19:55:58 +0000
commit31bcdb822fe9133b1973de51519d34e5813a6184 (patch)
tree63e213a6696aae199bddfb55496afd6523468ca1 /lib/VMCore/BasicBlock.cpp
parent9ae93cdcc81c50cb865a56b51eb70b2d7d961ad6 (diff)
downloadexternal_llvm-31bcdb822fe9133b1973de51519d34e5813a6184.zip
external_llvm-31bcdb822fe9133b1973de51519d34e5813a6184.tar.gz
external_llvm-31bcdb822fe9133b1973de51519d34e5813a6184.tar.bz2
Split ConstantVals.h into Constant.h and Constants.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
-rw-r--r--lib/VMCore/BasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp
index e126d70..bd750df 100644
--- a/lib/VMCore/BasicBlock.cpp
+++ b/lib/VMCore/BasicBlock.cpp
@@ -76,7 +76,7 @@ void BasicBlock::dropAllReferences() {
//
bool BasicBlock::hasConstantReferences() const {
for (use_const_iterator I = use_begin(), E = use_end(); I != E; ++I)
- if (::isa<Constant>(*I))
+ if (::isa<Constant>((Value*)*I))
return true;
return false;