mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Okay, my off by one was actually off by two. This fixes Generic/2003-07-07-BadLongConst.ll
llvm-svn: 19398
This commit is contained in:
parent
3b52b2f6c2
commit
85816cff9a
@ -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());
|
||||
Chain = TheCall.getValue(RetVals.size()+1);
|
||||
Chain = DAG.getNode(ISD::ADJCALLSTACKUP, MVT::Other, Chain,
|
||||
DAG.getConstant(NumBytes, getPointerTy()));
|
||||
return std::make_pair(TheCall, Chain);
|
||||
|
Loading…
x
Reference in New Issue
Block a user