diff options
Diffstat (limited to 'lib/Bytecode/Reader/InstructionReader.cpp')
| -rw-r--r-- | lib/Bytecode/Reader/InstructionReader.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index b6eec66491..5697b2620f 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<Value *> Params; -    const MethodType::ParamTypes &PL = M->getType()->getParamTypes(); +    const MethodType::ParamTypes &PL = M->getMethodType()->getParamTypes(); -    if (!M->getType()->isVarArg()) { +    if (!M->getMethodType()->isVarArg()) {        MethodType::ParamTypes::const_iterator It = PL.begin();        switch (Raw.NumOperands) {  | 
