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
This commit is contained in:
Chris Lattner
2002-03-26 17:55:33 +00:00
parent 0fc0c1d3e1
commit e590ff260e
3 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -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);