aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InductionVariable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-26 17:55:33 +0000
committerChris Lattner <sabre@nondot.org>2002-03-26 17:55:33 +0000
commite590ff260edbe2e521506a9621c2b936b629a2ea (patch)
treee9f8ef495f489cdc9d96abec9be9fcb7a83edc32 /lib/Analysis/InductionVariable.cpp
parent0fc0c1d3e13beb5a38a65ba018de75252aa11492 (diff)
change refs to Method to Function
Change references to MEthodArgument to FunctionArgument git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InductionVariable.cpp')
-rw-r--r--lib/Analysis/InductionVariable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InductionVariable.cpp b/lib/Analysis/InductionVariable.cpp
index 045c932332..11d1a2c860 100644
--- a/lib/Analysis/InductionVariable.cpp
+++ b/lib/Analysis/InductionVariable.cpp
@@ -28,7 +28,7 @@ using analysis::ExprType;
static bool isLoopInvariant(const Value *V, const cfg::Loop *L) {
- if (isa<Constant>(V) || isa<MethodArgument>(V) || isa<GlobalValue>(V))
+ if (isa<Constant>(V) || isa<FunctionArgument>(V) || isa<GlobalValue>(V))
return true;
const Instruction *I = cast<Instruction>(V);