Remove dead code. rdar://9221736.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2011-04-07 00:56:37 +00:00
parent 2455268cdd
commit 1adb47cc11

View File

@ -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();