public:
WebAssemblyMCCodeEmitter(const MCInstrInfo &, MCContext &) {}
- ~WebAssemblyMCCodeEmitter() override {}
-
/// TableGen'erated function for getting the binary encoding for an
/// instruction.
uint64_t getBinaryCodeForInstr(const MCInst &MI,
// Register the MC instruction info.
TargetRegistry::RegisterMCInstrInfo(*T, createMCInstrInfo);
- // Register the object streamer
+ // Register the object streamer.
TargetRegistry::RegisterELFStreamer(*T, createMCStreamer);
// Register the MCInstPrinter.
TargetRegistry::RegisterMCInstPrinter(*T, createMCInstPrinter);
- // Register the MC code emitter
+ // Register the MC code emitter.
TargetRegistry::RegisterMCCodeEmitter(*T, createCodeEmitter);
- // Register the ASM Backend
+ // Register the ASM Backend.
TargetRegistry::RegisterMCAsmBackend(*T, createAsmBackend);
}
}