diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-06 15:31:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-06 15:31:55 +0000 |
commit | 0125d5056999ca4a428251ef2ced5bad34d1133b (patch) | |
tree | b06b04cd3d2593ad4f83df26fefc0280bffdccb0 | |
parent | ffa6408f9cb30cd639eb8eb71ee4aa6f48d0c7a7 (diff) | |
download | llvm-0125d5056999ca4a428251ef2ced5bad34d1133b.tar.gz llvm-0125d5056999ca4a428251ef2ced5bad34d1133b.tar.bz2 llvm-0125d5056999ca4a428251ef2ced5bad34d1133b.tar.xz |
Yet more dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130988 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 13 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index f881cf7423..336166a3fc 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -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 //===------------------------------------------------------------------===// diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp index a94c0c1250..482d439068 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp @@ -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); - } -} |