OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a05fb
)
use ESP directly, not a copy of ESP into some other register for fastcc calls
author
Chris Lattner
<sabre@nondot.org>
Tue, 24 Jan 2006 06:14:44 +0000
(06:14 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 24 Jan 2006 06:14:44 +0000
(06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25584
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index
c83e6d0
..
5a7b764
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-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;