diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:06:16 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:06:16 +0000 |
commit | c78d720f023093b3b59d7bde30c96f18dedb5b53 (patch) | |
tree | 7f9952c4c9344fa27763432e5df6c902f83e957e /llvm/lib/VMCore/Instruction.cpp | |
parent | d821f4ac60e0a6228f73e74bed0c2aa6578e6d39 (diff) | |
download | bcm5719-llvm-c78d720f023093b3b59d7bde30c96f18dedb5b53.tar.gz bcm5719-llvm-c78d720f023093b3b59d7bde30c96f18dedb5b53.zip |
rename use_const_iterator to const_use_iterator for consistency's sake
llvm-svn: 99564
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index 3fabfd07b31..a37fe070bda 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/lib/VMCore/Instruction.cpp @@ -283,7 +283,7 @@ bool Instruction::isSameOperationAs(const Instruction *I) const { /// specified block. Note that PHI nodes are considered to evaluate their /// operands in the corresponding predecessor block. bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const { - for (use_const_iterator UI = use_begin(), E = use_end(); UI != E; ++UI) { + for (const_use_iterator UI = use_begin(), E = use_end(); UI != E; ++UI) { // PHI nodes uses values in the corresponding predecessor block. For other // instructions, just check to see whether the parent of the use matches up. const PHINode *PN = dyn_cast<PHINode>(*UI); |