mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[WebAssembly] Remove an unused data member. NFC.
llvm-svn: 258192
This commit is contained in:
parent
91ad8191d7
commit
d4e981ce4b
@ -33,7 +33,6 @@ STATISTIC(MCNumFixups, "Number of MC fixups created.");
|
||||
namespace {
|
||||
class WebAssemblyMCCodeEmitter final : public MCCodeEmitter {
|
||||
const MCInstrInfo &MCII;
|
||||
const MCContext &Ctx;
|
||||
|
||||
// Implementation generated by tablegen.
|
||||
uint64_t getBinaryCodeForInstr(const MCInst &MI,
|
||||
@ -45,14 +44,13 @@ class WebAssemblyMCCodeEmitter final : public MCCodeEmitter {
|
||||
const MCSubtargetInfo &STI) const override;
|
||||
|
||||
public:
|
||||
WebAssemblyMCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx)
|
||||
: MCII(mcii), Ctx(ctx) {}
|
||||
WebAssemblyMCCodeEmitter(const MCInstrInfo &mcii)
|
||||
: MCII(mcii) {}
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
MCCodeEmitter *llvm::createWebAssemblyMCCodeEmitter(const MCInstrInfo &MCII,
|
||||
MCContext &Ctx) {
|
||||
return new WebAssemblyMCCodeEmitter(MCII, Ctx);
|
||||
MCCodeEmitter *llvm::createWebAssemblyMCCodeEmitter(const MCInstrInfo &MCII) {
|
||||
return new WebAssemblyMCCodeEmitter(MCII);
|
||||
}
|
||||
|
||||
void WebAssemblyMCCodeEmitter::encodeInstruction(
|
||||
|
@ -63,8 +63,8 @@ static MCInstPrinter *createMCInstPrinter(const Triple & /*T*/,
|
||||
|
||||
static MCCodeEmitter *createCodeEmitter(const MCInstrInfo &MCII,
|
||||
const MCRegisterInfo & /*MRI*/,
|
||||
MCContext &Ctx) {
|
||||
return createWebAssemblyMCCodeEmitter(MCII, Ctx);
|
||||
MCContext & /*Ctx*/) {
|
||||
return createWebAssemblyMCCodeEmitter(MCII);
|
||||
}
|
||||
|
||||
static MCAsmBackend *createAsmBackend(const Target & /*T*/,
|
||||
|
@ -33,8 +33,7 @@ class raw_pwrite_stream;
|
||||
extern Target TheWebAssemblyTarget32;
|
||||
extern Target TheWebAssemblyTarget64;
|
||||
|
||||
MCCodeEmitter *createWebAssemblyMCCodeEmitter(const MCInstrInfo &MCII,
|
||||
MCContext &Ctx);
|
||||
MCCodeEmitter *createWebAssemblyMCCodeEmitter(const MCInstrInfo &MCII);
|
||||
|
||||
MCAsmBackend *createWebAssemblyAsmBackend(const Triple &TT);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user