forked from OSchip/llvm-project
Remove an assumption of default arguments. This is in anticipation of a
change to SelectionDAG build APIs. llvm-svn: 96231
This commit is contained in:
parent
0d0149f5ac
commit
af2931d7bf
|
@ -206,7 +206,8 @@ BlackfinTargetLowering::LowerFormalArguments(SDValue Chain,
|
|||
int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(),
|
||||
true, false);
|
||||
SDValue FIN = DAG.getFrameIndex(FI, MVT::i32);
|
||||
InVals.push_back(DAG.getLoad(VA.getValVT(), dl, Chain, FIN, NULL, 0));
|
||||
InVals.push_back(DAG.getLoad(VA.getValVT(), dl, Chain, FIN, NULL, 0,
|
||||
false, false, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -329,7 +330,7 @@ BlackfinTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
|
|||
OffsetN = DAG.getNode(ISD::ADD, dl, MVT::i32, SPN, OffsetN);
|
||||
MemOpChains.push_back(DAG.getStore(Chain, dl, Arg, OffsetN,
|
||||
PseudoSourceValue::getStack(),
|
||||
Offset));
|
||||
Offset, false, false, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue