mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Remove unused private fields to silence -Wunused-private-field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab9baf7ff4
commit
dd100d831b
@ -29,17 +29,14 @@ using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class MipsMCCodeEmitter : public MCCodeEmitter {
|
||||
MipsMCCodeEmitter(const MipsMCCodeEmitter &); // DO NOT IMPLEMENT
|
||||
void operator=(const MipsMCCodeEmitter &); // DO NOT IMPLEMENT
|
||||
MipsMCCodeEmitter(const MipsMCCodeEmitter &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MipsMCCodeEmitter &) LLVM_DELETED_FUNCTION;
|
||||
const MCInstrInfo &MCII;
|
||||
const MCSubtargetInfo &STI;
|
||||
MCContext &Ctx;
|
||||
bool IsLittleEndian;
|
||||
|
||||
public:
|
||||
MipsMCCodeEmitter(const MCInstrInfo &mcii, const MCSubtargetInfo &sti,
|
||||
MCContext &ctx, bool IsLittle) :
|
||||
MCII(mcii), STI(sti) , Ctx(ctx), IsLittleEndian(IsLittle) {}
|
||||
MipsMCCodeEmitter(const MCInstrInfo &mcii, bool IsLittle) :
|
||||
MCII(mcii), IsLittleEndian(IsLittle) {}
|
||||
|
||||
~MipsMCCodeEmitter() {}
|
||||
|
||||
@ -95,7 +92,7 @@ MCCodeEmitter *llvm::createMipsMCCodeEmitterEB(const MCInstrInfo &MCII,
|
||||
const MCSubtargetInfo &STI,
|
||||
MCContext &Ctx)
|
||||
{
|
||||
return new MipsMCCodeEmitter(MCII, STI, Ctx, false);
|
||||
return new MipsMCCodeEmitter(MCII, false);
|
||||
}
|
||||
|
||||
MCCodeEmitter *llvm::createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
|
||||
@ -103,7 +100,7 @@ MCCodeEmitter *llvm::createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
|
||||
const MCSubtargetInfo &STI,
|
||||
MCContext &Ctx)
|
||||
{
|
||||
return new MipsMCCodeEmitter(MCII, STI, Ctx, true);
|
||||
return new MipsMCCodeEmitter(MCII, true);
|
||||
}
|
||||
|
||||
/// EncodeInstruction - Emit the instruction.
|
||||
|
Loading…
Reference in New Issue
Block a user