mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Minor simplification.
llvm-svn: 109362
This commit is contained in:
parent
124f0f9120
commit
cd361b852b
@ -3714,7 +3714,7 @@ bool LLParser::ParseCall(Instruction *&Inst, PerFunctionState &PFS,
|
||||
const Type* ArgTy = ArgList[i].V->getType();
|
||||
if (!FunctionType::isValidArgumentType(ArgTy))
|
||||
return Error(ArgList[i].Loc, "Invalid argument type for LLVM function");
|
||||
ParamTypes.push_back(ArgList[i].V->getType());
|
||||
ParamTypes.push_back(ArgTy);
|
||||
}
|
||||
|
||||
if (!FunctionType::isValidReturnType(RetType))
|
||||
|
Loading…
Reference in New Issue
Block a user