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

Side by Side Diff: src/IceClFlags.h

Issue 567703003: Allow ability to name unnamed global addresses in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits in patch set 4. Created 6 years, 3 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 | « no previous file | src/IceConverter.cpp » ('j') | 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/IceClFlags.h - Cl Flags for translation ------*- C++ -*-===// 1 //===- subzero/src/IceClFlags.h - Cl Flags for translation ------*- 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 declares command line flags controlling translation. 10 // This file declares command line flags controlling translation.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef SUBZERO_SRC_ICECLFLAGS_H 14 #ifndef SUBZERO_SRC_ICECLFLAGS_H
15 #define SUBZERO_SRC_ICECLFLAGS_H 15 #define SUBZERO_SRC_ICECLFLAGS_H
16 16
17 #include "IceTypes.def"
18
17 namespace Ice { 19 namespace Ice {
18 20
21 // TODO(stichnot) Move more command line flags into ClFlags.
19 class ClFlags { 22 class ClFlags {
20 public: 23 public:
21 ClFlags() 24 ClFlags()
22 : DisableInternal(false), SubzeroTimingEnabled(false), 25 : DisableInternal(false), SubzeroTimingEnabled(false),
23 DisableTranslation(false), DisableGlobals(false), 26 DisableTranslation(false), DisableGlobals(false),
24 FunctionSections(false), UseSandboxing(false) {} 27 FunctionSections(false), UseSandboxing(false), DefaultGlobalPrefix(""),
28 DefaultFunctionPrefix("") {}
25 bool DisableInternal; 29 bool DisableInternal;
26 bool SubzeroTimingEnabled; 30 bool SubzeroTimingEnabled;
27 bool DisableTranslation; 31 bool DisableTranslation;
28 bool DisableGlobals; 32 bool DisableGlobals;
29 bool FunctionSections; 33 bool FunctionSections;
30 bool UseSandboxing; 34 bool UseSandboxing;
35 IceString DefaultGlobalPrefix;
36 IceString DefaultFunctionPrefix;
31 }; 37 };
32 38
33 } // end of namespace Ice 39 } // end of namespace Ice
34 40
35 #endif // SUBZERO_SRC_ICECLFLAGS_H 41 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « no previous file | src/IceConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698