projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162e209
)
Dead code.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 3 Nov 2006 02:08:41 +0000
(
02:08
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 3 Nov 2006 02:08:41 +0000
(
02:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31405
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86RegisterInfo.cpp
b/lib/Target/X86/X86RegisterInfo.cpp
index 82190bcc16f56250df0b95b341e56de2ceab8dd1..aa3ed3089d744b56a97f941ccfb29084b7127716 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-1063,10
+1063,6
@@
void X86RegisterInfo::emitEpilogue(MachineFunction &MF,
}
if (hasFP(MF)) {
- // Get the offset of the stack slot for the EBP register... which is
- // guaranteed to be the last slot by processFunctionBeforeFrameFinalized.
- int EBPOffset = MFI->getObjectOffset(MFI->getObjectIndexEnd()-1)+SlotSize;
-
// mov ESP, EBP
BuildMI(MBB, MBBI, Is64Bit ? X86::MOV64rr : X86::MOV32rr, 1, StackPtr).
addReg(FramePtr);