[llvm-commits] [llvm] r129044 - /llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

Evan Cheng evan.cheng at apple.com
Wed Apr 6 17:56:37 PDT 2011


Author: evancheng
Date: Wed Apr  6 19:56:37 2011
New Revision: 129044

URL: http://llvm.org/viewvc/llvm-project?rev=129044&view=rev
Log:
Remove dead code. rdar://9221736.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp?rev=129044&r1=129043&r2=129044&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp Wed Apr  6 19:56:37 2011
@@ -282,11 +282,6 @@
 void AsmPrinter::EmitCFIFrameMoves(const std::vector<MachineMove> &Moves) const {
   const TargetRegisterInfo *RI = TM.getRegisterInfo();
 
-  int stackGrowth = TM.getTargetData()->getPointerSize();
-  if (TM.getFrameLowering()->getStackGrowthDirection() !=
-      TargetFrameLowering::StackGrowsUp)
-    stackGrowth *= -1;
-
   for (unsigned i = 0, N = Moves.size(); i < N; ++i) {
     const MachineMove &Move = Moves[i];
     MCSymbol *Label = Move.getLabel();





More information about the llvm-commits mailing list