mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Don't forget return void.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
add19dc20a
commit
3b0d286d00
@ -2385,6 +2385,9 @@ TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (RetVals.size() == 0)
|
||||
RetVals.push_back(MVT::isVoid);
|
||||
|
||||
// Create the node.
|
||||
SDNode *Result = DAG.getNode(ISD::FORMAL_ARGUMENTS, RetVals, Ops).Val;
|
||||
|
Loading…
Reference in New Issue
Block a user