mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +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
@ -2386,6 +2386,9 @@ TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (RetVals.size() == 0)
|
||||||
|
RetVals.push_back(MVT::isVoid);
|
||||||
|
|
||||||
// Create the node.
|
// Create the node.
|
||||||
SDNode *Result = DAG.getNode(ISD::FORMAL_ARGUMENTS, RetVals, Ops).Val;
|
SDNode *Result = DAG.getNode(ISD::FORMAL_ARGUMENTS, RetVals, Ops).Val;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user