mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Minor simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
568463b556
commit
13f03f0006
@ -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…
x
Reference in New Issue
Block a user