mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
don't reserve space for tailcall arg areas. It explicitly managed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5934de7aea
commit
ea0354346f
@ -3764,8 +3764,10 @@ static SDOperand GetAdjustedArgumentStores(SDOperand Chain, int Offset,
|
||||
MVT::ValueType StoreVT;
|
||||
switch (Chain.getOpcode()) {
|
||||
case ISD::CALLSEQ_START:
|
||||
// If we found the start of the call sequence, we're done.
|
||||
return Chain;
|
||||
// If we found the start of the call sequence, we're done. We actually
|
||||
// strip off the CALLSEQ_START node, to avoid generating the
|
||||
// ADJCALLSTACKDOWN marker for the tail call.
|
||||
return Chain.getOperand(0);
|
||||
case ISD::TokenFactor: {
|
||||
std::vector<SDOperand> Ops;
|
||||
Ops.reserve(Chain.getNumOperands());
|
||||
|
Loading…
x
Reference in New Issue
Block a user