[WebAssembly] Remove incomplete MCCodeEmitter bits.
authorDan Gohman <dan433584@gmail.com>
Mon, 23 Nov 2015 18:00:04 +0000 (18:00 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 23 Nov 2015 18:00:04 +0000 (18:00 +0000)
These are parts of a separate patch that I accidentally included in r253878.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253892 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp

index dbfa725..ccc0f0d 100644 (file)
@@ -1,5 +1,4 @@
 add_llvm_library(LLVMWebAssemblyDesc
   WebAssemblyMCAsmInfo.cpp
-  WebAssemblyMCCodeEmitter.cpp
   WebAssemblyMCTargetDesc.cpp
 )
index 4d92f94..fcd4c29 100644 (file)
@@ -65,8 +65,5 @@ extern "C" void LLVMInitializeWebAssemblyTargetMC() {
 
     // Register the MCInstPrinter.
     TargetRegistry::RegisterMCInstPrinter(*T, createWebAssemblyMCInstPrinter);
-
-    // Register the MC code emitter
-    TargetRegistry::RegisterMCCodeEmitter(*T, createWebAssemblyMCCodeEmitter);
   }
 }