From: Dan Gohman Date: Mon, 23 Nov 2015 18:00:04 +0000 (+0000) Subject: [WebAssembly] Remove incomplete MCCodeEmitter bits. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e89242e73413a05f68944730645d0f5f9dfd8fb2;p=oota-llvm.git [WebAssembly] Remove incomplete MCCodeEmitter bits. 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 --- diff --git a/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt b/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt index dbfa72553cc..ccc0f0d7ccb 100644 --- a/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt +++ b/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt @@ -1,5 +1,4 @@ add_llvm_library(LLVMWebAssemblyDesc WebAssemblyMCAsmInfo.cpp - WebAssemblyMCCodeEmitter.cpp WebAssemblyMCTargetDesc.cpp ) diff --git a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp index 4d92f94ac6a..fcd4c293f63 100644 --- a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp +++ b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp @@ -65,8 +65,5 @@ extern "C" void LLVMInitializeWebAssemblyTargetMC() { // Register the MCInstPrinter. TargetRegistry::RegisterMCInstPrinter(*T, createWebAssemblyMCInstPrinter); - - // Register the MC code emitter - TargetRegistry::RegisterMCCodeEmitter(*T, createWebAssemblyMCCodeEmitter); } }