mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
getMethodType is now just getType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0e4523624
commit
1767edd983
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user