1
0
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:
Dan Gohman 2016-01-08 01:18:00 +00:00
parent abc5f825d6
commit 650311cc9a
2 changed files with 3 additions and 5 deletions

View File

@ -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,

View File

@ -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);
}
}