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

Side by Side Diff: src/SZTargets.def

Issue 1961743002: Subzero: Update for LLVM 3.9 (trunk). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: Remove unnecessary variable Created 4 years, 7 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
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/SZTargets.def - Target enumeration x-macro ---*- C++ -*-===// 1 //===- subzero/src/SZTargets.def - Target enumeration x-macro ---*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
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 an alternate implementation of llvm/Config/SZTargets.def, 10 // This file provides an alternate implementation of llvm/Config/SZTargets.def,
11 // such that when SZTARGET is defined, it enumerates the single SZTARGET instead 11 // such that when SZTARGET is defined, it enumerates the single SZTARGET instead
12 // of the complete list. This can be used to model a proper minimal build for 12 // of the complete list. This can be used to model a proper minimal build for
13 // the browser. 13 // the browser.
14 // 14 //
15 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===//
16 16
17 #ifdef PNACL_LLVM
18
17 #ifdef SZTARGET 19 #ifdef SZTARGET
18 20
19 #ifndef SUBZERO_TARGET 21 #ifndef SUBZERO_TARGET
20 #error Please define the macro SUBZERO_TARGET(TargetName) 22 #error Please define the macro SUBZERO_TARGET(TargetName)
21 #endif 23 #endif
22 24
23 SUBZERO_TARGET(SZTARGET) 25 SUBZERO_TARGET(SZTARGET)
24 26
25 #undef SUBZERO_TARGET 27 #undef SUBZERO_TARGET
26 28
27 #else // !SZTARGET 29 #else // !SZTARGET
28 30
29 #include "llvm/Config/SZTargets.def" 31 #include "llvm/Config/SZTargets.def"
30 32
31 #endif // !SZTARGET 33 #endif // !SZTARGET
34
35 #else // !PNACL_LLVM
36
37 SUBZERO_TARGET(ARM32)
38 SUBZERO_TARGET(MIPS32)
39 SUBZERO_TARGET(X8632)
40 SUBZERO_TARGET(X8664)
41
42 #endif // !PNACL_LLVM
OLDNEW
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698