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) {} |
24 bool DisableInternal; | 25 bool DisableInternal; |
25 bool SubzeroTimingEnabled; | 26 bool SubzeroTimingEnabled; |
26 bool DisableTranslation; | 27 bool DisableTranslation; |
27 bool DisableGlobals; | 28 bool DisableGlobals; |
| 29 bool FunctionSections; |
28 }; | 30 }; |
29 } | 31 |
| 32 } // end of namespace Ice |
30 | 33 |
31 #endif // SUBZERO_SRC_ICECLFLAGS_H | 34 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |