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

Side by Side Diff: lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp

Issue 1395453003: Create a proper target machine for PNaCl. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix a test Created 5 years, 1 month 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
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h ('k') | test/CodeGen/Generic/no-target.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- JSBackendMCTargetDesc.h - JS Backend Target Descriptions -*- C++ -*-===// 1 //===-- llvm/Target/PNaCl/PNaClTargetMachine.h - Target Information -*- C++ -*-= ==//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file provides asm.js specific target descriptions. 10 // This file defines the TargetMachine class specific to PNaCl.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef JSBACKENDMCTARGETDESC_H
15 #define JSBACKENDMCTARGETDESC_H
16
17 #include "llvm/Support/TargetRegistry.h" 14 #include "llvm/Support/TargetRegistry.h"
18 15
19 namespace llvm { 16 namespace llvm {
17 Target PNaClLe32_Target;
18 }
20 19
21 extern Target TheJSBackendTarget; 20 using namespace llvm;
22 21
23 } // End llvm namespace 22 extern "C" void LLVMInitializePNaClTargetInfo() {
24 23 RegisterTarget<Triple::le32, false>
25 #endif 24 X(PNaClLe32_Target, "le32", "The PNaCl/Emscripten target.");
25 }
OLDNEW
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h ('k') | test/CodeGen/Generic/no-target.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698