Yet more dead code.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 May 2011 15:31:55 +0000 (15:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 May 2011 15:31:55 +0000 (15:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130988 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

index f881cf7423ac850c53fd46740500c212b4553ae6..336166a3fc9d784aa10872f01ca96cde74787df9 100644 (file)
@@ -400,10 +400,6 @@ namespace llvm {
     /// frame.
     void EmitCFIFrameMove(const MachineMove &Move) const;
 
-    /// EmitCFIFrameMoves - Emit frame instructions to describe the layout of
-    /// the frame.
-    void EmitCFIFrameMoves(const std::vector<MachineMove> &Moves) const;
-
     //===------------------------------------------------------------------===//
     // Inline Asm Support
     //===------------------------------------------------------------------===//
index a94c0c1250ff489530b4c01d1d596a1bed8a1562..482d439068791369ddfd8f6a1a10e914ff68978b 100644 (file)
@@ -232,16 +232,3 @@ void AsmPrinter::EmitCFIFrameMove(const MachineMove &Move) const {
                               Dst.getOffset());
   }
 }
-
-/// EmitCFIFrameMoves - Emit frame instructions to describe the layout of the
-/// frame.
-void AsmPrinter::EmitCFIFrameMoves(const std::vector<MachineMove> &Moves) const {
-  for (unsigned i = 0, N = Moves.size(); i < N; ++i) {
-    const MachineMove &Move = Moves[i];
-    MCSymbol *Label = Move.getLabel();
-    // Throw out move if the label is invalid.
-    if (Label && !Label->isDefined()) continue; // Not emitted, in dead code.
-
-    EmitCFIFrameMove(Move);
-  }
-}