mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove unused private fields found by clang's new -Wunused-private-field.
There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -187,7 +187,7 @@ void MBlazeAsmPrinter::EmitFunctionBodyEnd() {
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
void MBlazeAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
MBlazeMCInstLower MCInstLowering(OutContext, *Mang, *this);
|
||||
MBlazeMCInstLower MCInstLowering(OutContext, *this);
|
||||
|
||||
MCInst TmpInst;
|
||||
MCInstLowering.Lower(MI, TmpInst);
|
||||
|
@@ -21,18 +21,16 @@ namespace llvm {
|
||||
class MachineInstr;
|
||||
class MachineModuleInfoMachO;
|
||||
class MachineOperand;
|
||||
class Mangler;
|
||||
|
||||
/// MBlazeMCInstLower - This class is used to lower an MachineInstr
|
||||
/// into an MCInst.
|
||||
class LLVM_LIBRARY_VISIBILITY MBlazeMCInstLower {
|
||||
MCContext &Ctx;
|
||||
Mangler &Mang;
|
||||
|
||||
AsmPrinter &Printer;
|
||||
public:
|
||||
MBlazeMCInstLower(MCContext &ctx, Mangler &mang, AsmPrinter &printer)
|
||||
: Ctx(ctx), Mang(mang), Printer(printer) {}
|
||||
MBlazeMCInstLower(MCContext &ctx, AsmPrinter &printer)
|
||||
: Ctx(ctx), Printer(printer) {}
|
||||
void Lower(const MachineInstr *MI, MCInst &OutMI) const;
|
||||
|
||||
MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
|
||||
|
Reference in New Issue
Block a user