[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 dbfa72553ccc4f0827847652e8d107c26e681268..ccc0f0d7ccbca68e79865d0db946d8a9f96e0214 100644 (file)
@@ -1,5 +1,4 @@
 add_llvm_library(LLVMWebAssemblyDesc
   WebAssemblyMCAsmInfo.cpp
-  WebAssemblyMCCodeEmitter.cpp
   WebAssemblyMCTargetDesc.cpp
 )
index 4d92f94ac6a5be81f1256071b857b0e207e5fdb4..fcd4c293f63cf5d34007c064ee4a3dc447412337 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);
   }
 }