summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-11-05 19:31:28 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-11-05 19:31:28 +0000
commit7d6f3db3e2ccba8625d9c8f2a22592ea16ed3fc6 (patch)
tree12d84c9eda1810eafd23f43e3d1d2e2ec60164ac /llvm/lib/Transforms/Utils/CloneFunction.cpp
parent35b927e0d3bd3113dfff152425a70363bd213145 (diff)
downloadbcm5719-llvm-7d6f3db3e2ccba8625d9c8f2a22592ea16ed3fc6.tar.gz
bcm5719-llvm-7d6f3db3e2ccba8625d9c8f2a22592ea16ed3fc6.zip
Unbreak VC++ build.
llvm-svn: 31464
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 30a7add79ba..3aa7397ef94 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -313,9 +313,9 @@ void llvm::CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
assert(NameSuffix && "NameSuffix cannot be null!");
#ifndef NDEBUG
- for (Function::const_arg_iterator I = OldFunc->arg_begin(),
- E = OldFunc->arg_end(); I != E; ++I)
- assert(ValueMap.count(I) && "No mapping from source argument specified!");
+ for (Function::const_arg_iterator II = OldFunc->arg_begin(),
+ E = OldFunc->arg_end(); II != E; ++II)
+ assert(ValueMap.count(II) && "No mapping from source argument specified!");
#endif
PruningFunctionCloner PFC(NewFunc, OldFunc, ValueMap, Returns,
OpenPOWER on IntegriCloud