diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-26 17:55:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-26 17:55:33 +0000 |
commit | e590ff260edbe2e521506a9621c2b936b629a2ea (patch) | |
tree | e9f8ef495f489cdc9d96abec9be9fcb7a83edc32 /lib/Analysis/Expressions.cpp | |
parent | 0fc0c1d3e13beb5a38a65ba018de75252aa11492 (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/Expressions.cpp')
-rw-r--r-- | lib/Analysis/Expressions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/Expressions.cpp b/lib/Analysis/Expressions.cpp index 00a8307143..4a7646e4d7 100644 --- a/lib/Analysis/Expressions.cpp +++ b/lib/Analysis/Expressions.cpp @@ -9,7 +9,7 @@ #include "llvm/Analysis/Expressions.h" #include "llvm/Transforms/Scalar/ConstantHandling.h" -#include "llvm/Method.h" +#include "llvm/Function.h" #include "llvm/BasicBlock.h" #include <iostream> @@ -240,12 +240,12 @@ ExprType analysis::ClassifyExpression(Value *Expr) { switch (Expr->getValueType()) { case Value::InstructionVal: break; // Instruction... hmmm... investigate. case Value::TypeVal: case Value::BasicBlockVal: - case Value::MethodVal: case Value::ModuleVal: default: + case Value::FunctionVal: case Value::ModuleVal: default: //assert(0 && "Unexpected expression type to classify!"); std::cerr << "Bizarre thing to expr classify: " << Expr << "\n"; return Expr; - case Value::GlobalVariableVal: // Global Variable & Method argument: - case Value::MethodArgumentVal: // nothing known, return variable itself + case Value::GlobalVariableVal: // Global Variable & Function argument: + case Value::FunctionArgumentVal: // nothing known, return variable itself return Expr; case Value::ConstantVal: // Constant value, just return constant Constant *CPV = cast<Constant>(Expr); |