git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130988
91177308-0d34-0410-b5e6-
96231b3b80d8
/// 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
//===------------------------------------------------------------------===//
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);
- }
-}