diff options
author | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-12-03 22:26:30 +0000 |
commit | 3462ae3ad7944394d0e9b82be222a43a26ca289a (patch) | |
tree | f9ecc5677deccb6e178948795e6e268023d98a0c /llvm/lib/VMCore/BasicBlock.cpp | |
parent | bca18d7d96fd6d0df98019074e144f5b270d222c (diff) | |
download | bcm5719-llvm-3462ae3ad7944394d0e9b82be222a43a26ca289a.tar.gz bcm5719-llvm-3462ae3ad7944394d0e9b82be222a43a26ca289a.zip |
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407
Diffstat (limited to 'llvm/lib/VMCore/BasicBlock.cpp')
-rw-r--r-- | llvm/lib/VMCore/BasicBlock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/BasicBlock.cpp b/llvm/lib/VMCore/BasicBlock.cpp index 40962ef0f3d..861aea43c25 100644 --- a/llvm/lib/VMCore/BasicBlock.cpp +++ b/llvm/lib/VMCore/BasicBlock.cpp @@ -70,14 +70,14 @@ void BasicBlock::dropAllReferences() { std::mem_fun(&Instruction::dropAllReferences)); } -// hasConstantPoolReferences() - This predicate is true if there is a +// hasConstantReferences() - This predicate is true if there is a // reference to this basic block in the constant pool for this method. For // example, if a block is reached through a switch table, that table resides // in the constant pool, and the basic block is reference from it. // -bool BasicBlock::hasConstantPoolReferences() const { +bool BasicBlock::hasConstantReferences() const { for (use_const_iterator I = use_begin(), E = use_end(); I != E; ++I) - if (::isa<ConstPoolVal>(*I)) + if (::isa<Constant>(*I)) return true; return false; |