1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

getMethodType is now just getType

llvm-svn: 538
This commit is contained in:
Chris Lattner 2001-09-10 20:08:52 +00:00
parent 0631fccc21
commit ee86b5f051

View File

@ -197,9 +197,9 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
if (M == 0) return failure(true);
vector<Value *> Params;
const MethodType::ParamTypes &PL = M->getMethodType()->getParamTypes();
const MethodType::ParamTypes &PL = M->getType()->getParamTypes();
if (!M->getType()->isMethodType()->isVarArg()) {
if (!M->getType()->isVarArg()) {
MethodType::ParamTypes::const_iterator It = PL.begin();
switch (Raw.NumOperands) {