summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InductionVars.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-09 19:48:49 +0000
committerChris Lattner <sabre@nondot.org>2002-04-09 19:48:49 +0000
commit2e9fa6d10146e29690da9c1954f7d699ca719147 (patch)
tree17a8a90eff67468e69fc7f7f4411e94d0f07626b /llvm/lib/Transforms/Scalar/InductionVars.cpp
parent98d0ac0f8ef7c0a2bed59b1238f760ed17d81fc1 (diff)
downloadbcm5719-llvm-2e9fa6d10146e29690da9c1954f7d699ca719147.tar.gz
bcm5719-llvm-2e9fa6d10146e29690da9c1954f7d699ca719147.zip
Move FunctionArgument out of iOther.h into Argument.h and rename class to
be 'Argument' instead of FunctionArgument. llvm-svn: 2216
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductionVars.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InductionVars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InductionVars.cpp b/llvm/lib/Transforms/Scalar/InductionVars.cpp
index 55b227585be..9931a6b5d7a 100644
--- a/llvm/lib/Transforms/Scalar/InductionVars.cpp
+++ b/llvm/lib/Transforms/Scalar/InductionVars.cpp
@@ -37,7 +37,7 @@ using std::cerr;
// an interval invariant computation.
//
static bool isLoopInvariant(cfg::Interval *Int, Value *V) {
- assert(isa<Constant>(V) || isa<Instruction>(V) || isa<FunctionArgument>(V));
+ assert(isa<Constant>(V) || isa<Instruction>(V) || isa<Argument>(V));
if (!isa<Instruction>(V))
return true; // Constants and arguments are always loop invariant
OpenPOWER on IntegriCloud