mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 03:19:50 +00:00
use ESP directly, not a copy of ESP into some other register for fastcc calls
llvm-svn: 25584
This commit is contained in:
parent
cdc68e7e76
commit
f2a2d62f48
@ -923,8 +923,7 @@ X86TargetLowering::LowerFastCCCallTo(SDOperand Chain, const Type *RetTy,
|
||||
|
||||
// Arguments go on the stack in reverse order, as specified by the ABI.
|
||||
unsigned ArgOffset = 0;
|
||||
SDOperand StackPtr = DAG.getCopyFromReg(DAG.getEntryNode(),
|
||||
X86::ESP, MVT::i32);
|
||||
SDOperand StackPtr = DAG.getRegister(X86::ESP, MVT::i32);
|
||||
NumIntRegs = 0;
|
||||
std::vector<SDOperand> Stores;
|
||||
std::vector<SDOperand> RegValuesToPass;
|
||||
|
Loading…
x
Reference in New Issue
Block a user