[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.cpp

Evan Cheng evan.cheng at apple.com
Thu Nov 2 18:08:55 PST 2006



Changes in directory llvm/lib/Target/X86:

X86RegisterInfo.cpp updated: 1.171 -> 1.172
---
Log message:

Dead code.

---
Diffs of the changes:  (+0 -4)

 X86RegisterInfo.cpp |    4 ----
 1 files changed, 4 deletions(-)


Index: llvm/lib/Target/X86/X86RegisterInfo.cpp
diff -u llvm/lib/Target/X86/X86RegisterInfo.cpp:1.171 llvm/lib/Target/X86/X86RegisterInfo.cpp:1.172
--- llvm/lib/Target/X86/X86RegisterInfo.cpp:1.171	Fri Sep 22 16:43:59 2006
+++ llvm/lib/Target/X86/X86RegisterInfo.cpp	Thu Nov  2 20:08:41 2006
@@ -1063,10 +1063,6 @@
   }
 
   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);






More information about the llvm-commits mailing list