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

Side by Side Diff: src/IceClFlags.h

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: fix makefiles to eliminate ALLOW_DISABLE_IR_GEN Created 5 years 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
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 /// \file 10 /// \file
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } 63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; }
64 64
65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; } 65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; }
66 void setDisableHybridAssembly(bool NewValue) { 66 void setDisableHybridAssembly(bool NewValue) {
67 DisableHybridAssembly = NewValue; 67 DisableHybridAssembly = NewValue;
68 } 68 }
69 69
70 bool getDisableInternal() const { return DisableInternal; } 70 bool getDisableInternal() const { return DisableInternal; }
71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } 71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; }
72 72
73 bool getDisableIRGeneration() const {
74 return BuildDefs::disableIrGen() && DisableIRGeneration;
75 }
76 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; }
77
78 bool getDisableTranslation() const { return DisableTranslation; } 73 bool getDisableTranslation() const { return DisableTranslation; }
79 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } 74 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; }
80 75
81 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } 76 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; }
82 void setDumpStats(bool NewValue) { DumpStats = NewValue; } 77 void setDumpStats(bool NewValue) { DumpStats = NewValue; }
83 78
84 bool getEnableBlockProfile() const { return EnableBlockProfile; } 79 bool getEnableBlockProfile() const { return EnableBlockProfile; }
85 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } 80 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; }
86 81
87 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } 82 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; }
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 IceString TranslateOnly; 295 IceString TranslateOnly;
301 IceString VerboseFocusOn; 296 IceString VerboseFocusOn;
302 297
303 size_t NumTranslationThreads; // 0 means completely sequential 298 size_t NumTranslationThreads; // 0 means completely sequential
304 uint64_t RandomSeed; 299 uint64_t RandomSeed;
305 }; 300 };
306 301
307 } // end of namespace Ice 302 } // end of namespace Ice
308 303
309 #endif // SUBZERO_SRC_ICECLFLAGS_H 304 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« Makefile ('K') | « src/IceBuildDefs.h ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698