mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[WebAssembly] Minor code cleanups. NFC.
llvm-svn: 257131
This commit is contained in:
parent
abc5f825d6
commit
650311cc9a
@ -31,8 +31,6 @@ class WebAssemblyMCCodeEmitter final : public MCCodeEmitter {
|
||||
public:
|
||||
WebAssemblyMCCodeEmitter(const MCInstrInfo &, MCContext &) {}
|
||||
|
||||
~WebAssemblyMCCodeEmitter() override {}
|
||||
|
||||
/// TableGen'erated function for getting the binary encoding for an
|
||||
/// instruction.
|
||||
uint64_t getBinaryCodeForInstr(const MCInst &MI,
|
||||
|
@ -82,16 +82,16 @@ extern "C" void LLVMInitializeWebAssemblyTargetMC() {
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user