diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-04-07 00:56:37 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-04-07 00:56:37 +0000 |
commit | 1adb47cc11e708e6009007eeab58caf4310df30f (patch) | |
tree | 4005169d4ca757fb56b202129e1ae2f24edfa734 /lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | |
parent | 2455268cddf6d5507ab21b59007194e92b0b9af7 (diff) | |
download | external_llvm-1adb47cc11e708e6009007eeab58caf4310df30f.zip external_llvm-1adb47cc11e708e6009007eeab58caf4310df30f.tar.gz external_llvm-1adb47cc11e708e6009007eeab58caf4310df30f.tar.bz2 |
Remove dead code. rdar://9221736.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp index 98a1bf2..9c8184a 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp @@ -282,11 +282,6 @@ void AsmPrinter::EmitFrameMoves(const std::vector<MachineMove> &Moves, 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(); |