mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +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:
		@@ -29,17 +29,14 @@ using namespace llvm;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace {
 | 
					namespace {
 | 
				
			||||||
class MipsMCCodeEmitter : public MCCodeEmitter {
 | 
					class MipsMCCodeEmitter : public MCCodeEmitter {
 | 
				
			||||||
  MipsMCCodeEmitter(const MipsMCCodeEmitter &); // DO NOT IMPLEMENT
 | 
					  MipsMCCodeEmitter(const MipsMCCodeEmitter &) LLVM_DELETED_FUNCTION;
 | 
				
			||||||
  void operator=(const MipsMCCodeEmitter &); // DO NOT IMPLEMENT
 | 
					  void operator=(const MipsMCCodeEmitter &) LLVM_DELETED_FUNCTION;
 | 
				
			||||||
  const MCInstrInfo &MCII;
 | 
					  const MCInstrInfo &MCII;
 | 
				
			||||||
  const MCSubtargetInfo &STI;
 | 
					 | 
				
			||||||
  MCContext &Ctx;
 | 
					 | 
				
			||||||
  bool IsLittleEndian;
 | 
					  bool IsLittleEndian;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
  MipsMCCodeEmitter(const MCInstrInfo &mcii, const MCSubtargetInfo &sti,
 | 
					  MipsMCCodeEmitter(const MCInstrInfo &mcii, bool IsLittle) :
 | 
				
			||||||
                    MCContext &ctx, bool IsLittle) :
 | 
					            MCII(mcii), IsLittleEndian(IsLittle) {}
 | 
				
			||||||
            MCII(mcii), STI(sti) , Ctx(ctx), IsLittleEndian(IsLittle) {}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ~MipsMCCodeEmitter() {}
 | 
					  ~MipsMCCodeEmitter() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -95,7 +92,7 @@ MCCodeEmitter *llvm::createMipsMCCodeEmitterEB(const MCInstrInfo &MCII,
 | 
				
			|||||||
                                               const MCSubtargetInfo &STI,
 | 
					                                               const MCSubtargetInfo &STI,
 | 
				
			||||||
                                               MCContext &Ctx)
 | 
					                                               MCContext &Ctx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  return new MipsMCCodeEmitter(MCII, STI, Ctx, false);
 | 
					  return new MipsMCCodeEmitter(MCII, false);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
MCCodeEmitter *llvm::createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
 | 
					MCCodeEmitter *llvm::createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
 | 
				
			||||||
@@ -103,7 +100,7 @@ MCCodeEmitter *llvm::createMipsMCCodeEmitterEL(const MCInstrInfo &MCII,
 | 
				
			|||||||
                                               const MCSubtargetInfo &STI,
 | 
					                                               const MCSubtargetInfo &STI,
 | 
				
			||||||
                                               MCContext &Ctx)
 | 
					                                               MCContext &Ctx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  return new MipsMCCodeEmitter(MCII, STI, Ctx, true);
 | 
					  return new MipsMCCodeEmitter(MCII, true);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// EncodeInstruction - Emit the instruction.
 | 
					/// EncodeInstruction - Emit the instruction.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user