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/Transforms/Utils/PromoteMemoryToRegister.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/Transforms/Utils/PromoteMemoryToRegister.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 4f5a70b3b25..f181f3a0a46 100644 --- a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -68,7 +68,7 @@ bool llvm::isAllocaPromotable(const AllocaInst *AI) { // assignments to subsections of the memory unit. // Only allow direct and non-volatile loads and stores... - for (Value::use_const_iterator UI = AI->use_begin(), UE = AI->use_end(); + for (Value::const_use_iterator UI = AI->use_begin(), UE = AI->use_end(); UI != UE; ++UI) // Loop over all of the uses of the alloca if (const LoadInst *LI = dyn_cast<LoadInst>(*UI)) { if (LI->isVolatile()) |