From 1767edd98304724e73456d33d2d168e583ea30ac Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Sep 2001 20:08:52 +0000 Subject: [PATCH] getMethodType is now just getType git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index ed5a54d392e..8c3e08ff94e 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -197,9 +197,9 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf, if (M == 0) return failure(true); vector 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) {