From 73e214244f2403b5ba0ef81b8839600f3c8ffebc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 Apr 2002 19:48:49 +0000 Subject: Move FunctionArgument out of iOther.h into Argument.h and rename class to be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2216 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/Reader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Bytecode/Reader/Reader.cpp') diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index d7c8af3de7..fff2d02898 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -19,6 +19,7 @@ #include "llvm/ConstantVals.h" #include "llvm/iPHINode.h" #include "llvm/iOther.h" +#include "llvm/Argument.h" #include #include #include @@ -280,7 +281,7 @@ bool BytecodeParser::ParseMethod(const uchar *&Buf, const uchar *EndBuf, const FunctionType::ParamTypes &Params = MTy->getParamTypes(); for (FunctionType::ParamTypes::const_iterator It = Params.begin(); It != Params.end(); ++It) { - FunctionArgument *FA = new FunctionArgument(*It); + Argument *FA = new Argument(*It); if (insertValue(FA, Values) == -1) { Error = "Error reading method arguments!\n"; delete M; return failure(true); -- cgit v1.2.3-18-g5258