diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-10 20:08:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-10 20:08:52 +0000 |
commit | 212c907cf100869234c9ba7bc9e6ebd541f64722 (patch) | |
tree | aa9eaca8e3e12a4ce2602b09d80da49a78408683 /llvm/lib/Bytecode | |
parent | adfe0d19d64367edef7461bfb7776255e3d12092 (diff) | |
download | bcm5719-llvm-212c907cf100869234c9ba7bc9e6ebd541f64722.tar.gz bcm5719-llvm-212c907cf100869234c9ba7bc9e6ebd541f64722.zip |
getMethodType is now just getType
llvm-svn: 538
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r-- | llvm/lib/Bytecode/Reader/InstructionReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp index ed5a54d392e..8c3e08ff94e 100644 --- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp +++ b/llvm/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->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) { |