mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 02:07:16 +00:00
Fix off by one error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19396 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d7a0ed4ec
commit
ce45d65d9a
@ -208,7 +208,7 @@ X86TargetLowering::LowerCallTo(SDOperand Chain,
|
||||
RetVals.push_back(MVT::Other);
|
||||
|
||||
SDOperand TheCall = SDOperand(DAG.getCall(RetVals, Chain, Callee), 0);
|
||||
Chain = TheCall.getValue(RetVals.size()-1);
|
||||
Chain = TheCall.getValue(RetVals.size());
|
||||
Chain = DAG.getNode(ISD::ADJCALLSTACKUP, MVT::Other, Chain,
|
||||
DAG.getConstant(NumBytes, getPointerTy()));
|
||||
return std::make_pair(TheCall, Chain);
|
||||
|
Loading…
Reference in New Issue
Block a user