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

Side by Side Diff: src/IceClFlags.h

Issue 1062803005: Removing 3 warnings. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 8 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/IceBrowserCompileServer.h ('k') | src/IceCompileServer.h » ('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.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 134 }
135 135
136 TargetArch getTargetArch() const { return TArch; } 136 TargetArch getTargetArch() const { return TArch; }
137 void setTargetArch(TargetArch NewValue) { TArch = NewValue; } 137 void setTargetArch(TargetArch NewValue) { TArch = NewValue; }
138 138
139 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; } 139 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; }
140 void setTargetInstructionSet(TargetInstructionSet NewValue) { 140 void setTargetInstructionSet(TargetInstructionSet NewValue) {
141 TInstrSet = NewValue; 141 TInstrSet = NewValue;
142 } 142 }
143 143
144 VerboseMask getVerbose() const { return ALLOW_DUMP ? VMask : IceV_None; } 144 VerboseMask getVerbose() const {
145 return ALLOW_DUMP ? VMask : (VerboseMask)IceV_None;
146 }
145 void setVerbose(VerboseMask NewValue) { VMask = NewValue; } 147 void setVerbose(VerboseMask NewValue) { VMask = NewValue; }
146 148
147 // IceString accessors. 149 // IceString accessors.
148 150
149 const IceString &getDefaultFunctionPrefix() const { 151 const IceString &getDefaultFunctionPrefix() const {
150 return DefaultFunctionPrefix; 152 return DefaultFunctionPrefix;
151 } 153 }
152 void setDefaultFunctionPrefix(const IceString &NewValue) { 154 void setDefaultFunctionPrefix(const IceString &NewValue) {
153 DefaultFunctionPrefix = NewValue; 155 DefaultFunctionPrefix = NewValue;
154 } 156 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 IceString TranslateOnly; 220 IceString TranslateOnly;
219 IceString VerboseFocusOn; 221 IceString VerboseFocusOn;
220 222
221 size_t NumTranslationThreads; // 0 means completely sequential 223 size_t NumTranslationThreads; // 0 means completely sequential
222 uint64_t RandomSeed; 224 uint64_t RandomSeed;
223 }; 225 };
224 226
225 } // end of namespace Ice 227 } // end of namespace Ice
226 228
227 #endif // SUBZERO_SRC_ICECLFLAGS_H 229 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceBrowserCompileServer.h ('k') | src/IceCompileServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698