Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: lib/Target/JSBackend/MCTargetDesc/JSBackendMCTargetDesc.cpp

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //===-- JSBackendMCTargetDesc.cpp - JS Backend Target Descriptions --------===//
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 // This file provides asm.js specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "JSBackendMCTargetDesc.h"
15 #include "llvm/MC/MCCodeGenInfo.h"
16 #include "llvm/Support/TargetRegistry.h"
17 using namespace llvm;
18
19 static MCCodeGenInfo *createJSBackendMCCodeGenInfo(StringRef Triple, Reloc::Mode l RM,
20 CodeModel::Model CM,
21 CodeGenOpt::Level OL) {
22 MCCodeGenInfo *X = new MCCodeGenInfo();
23 X->InitMCCodeGenInfo(RM, CM, OL);
24 return X;
25 }
26
27 // Force static initialization.
28 extern "C" void LLVMInitializeJSBackendTargetMC() {
29 // Register the MC codegen info.
30 RegisterMCCodeGenInfoFn C(TheJSBackendTarget, createJSBackendMCCodeGenInfo);
31 }
OLDNEW
« no previous file with comments | « lib/Target/JSBackend/MCTargetDesc/JSBackendMCTargetDesc.h ('k') | lib/Target/JSBackend/MCTargetDesc/LLVMBuild.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698