OLD | NEW |
---|---|
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 namespace Ice { | 17 namespace Ice { |
18 | 18 |
19 class ClFlags { | 19 class ClFlags { |
20 public: | 20 public: |
21 ClFlags() | 21 ClFlags() |
22 : DisableInternal(false), SubzeroTimingEnabled(false), | 22 : DisableInternal(false), SubzeroTimingEnabled(false), |
23 DisableTranslation(false), DisableGlobals(false), | 23 DisableTranslation(false), DisableGlobals(false), |
24 FunctionSections(false), UseSandboxing(false) {} | 24 FunctionSections(false), UseSandboxing(false), |
25 DefaultGlobalPrefix("") {} | |
25 bool DisableInternal; | 26 bool DisableInternal; |
26 bool SubzeroTimingEnabled; | 27 bool SubzeroTimingEnabled; |
27 bool DisableTranslation; | 28 bool DisableTranslation; |
28 bool DisableGlobals; | 29 bool DisableGlobals; |
29 bool FunctionSections; | 30 bool FunctionSections; |
30 bool UseSandboxing; | 31 bool UseSandboxing; |
32 std::string DefaultGlobalPrefix; | |
Jim Stichnoth
2014/09/11 22:08:19
1. I originally thought ClFlags was just for bool
Karl
2014/09/12 16:29:06
Both changes done.
| |
31 }; | 33 }; |
32 | 34 |
33 } // end of namespace Ice | 35 } // end of namespace Ice |
34 | 36 |
35 #endif // SUBZERO_SRC_ICECLFLAGS_H | 37 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |