| OLD | NEW |
| (Empty) |
| 1 //===-- JSBackendTargetInfo.cpp - JSBackend Target Implementation -------===// | |
| 2 // | |
| 3 // The LLVM Compiler Infrastructure | |
| 4 // | |
| 5 // This file is distributed under the University of Illinois Open Source | |
| 6 // License. See LICENSE.TXT for details. | |
| 7 // | |
| 8 //===--------------------------------------------------------------------===// | |
| 9 | |
| 10 #include "JSTargetMachine.h" | |
| 11 #include "MCTargetDesc/JSBackendMCTargetDesc.h" | |
| 12 #include "llvm/IR/Module.h" | |
| 13 #include "llvm/Support/TargetRegistry.h" | |
| 14 using namespace llvm; | |
| 15 | |
| 16 Target llvm::TheJSBackendTarget; | |
| 17 | |
| 18 extern "C" void LLVMInitializeJSBackendTargetInfo() { | |
| 19 RegisterTarget<Triple::asmjs, /*HasJIT=*/false> X(TheJSBackendTarget, "js", "J
avaScript (asm.js, emscripten) backend"); | |
| 20 } | |
| OLD | NEW |