summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-10 20:08:52 +0000
committerChris Lattner <sabre@nondot.org>2001-09-10 20:08:52 +0000
commit1767edd98304724e73456d33d2d168e583ea30ac (patch)
treee2320cc22548440c9816a5a1eb83955eaad9aca5 /lib/Bytecode
parentb0e4523624fbe493a945ea73a8f3c6d6526f3f27 (diff)
downloadllvm-1767edd98304724e73456d33d2d168e583ea30ac.tar.gz
llvm-1767edd98304724e73456d33d2d168e583ea30ac.tar.bz2
llvm-1767edd98304724e73456d33d2d168e583ea30ac.tar.xz
getMethodType is now just getType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp
index ed5a54d392..8c3e08ff94 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->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) {