mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
Yet more dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ffa6408f9c
commit
0125d50569
@ -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
|
||||
//===------------------------------------------------------------------===//
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user