Chromium Code Reviews| Index: src/IceClFlags.h |
| diff --git a/src/IceClFlags.h b/src/IceClFlags.h |
| index c5b7d4bbdfd790305b838705203f51f497dee804..33e7ccbee51ab4e552e514c72a10016622ed7c16 100644 |
| --- a/src/IceClFlags.h |
| +++ b/src/IceClFlags.h |
| @@ -31,6 +31,101 @@ public: |
| GenerateUnitTestMessages(false), NumTranslationThreads(0), |
| DefaultGlobalPrefix(""), DefaultFunctionPrefix(""), TimingFocusOn(""), |
| VerboseFocusOn(""), TranslateOnly("") {} |
| + |
| + bool getDisableInternal() const { return DisableInternal; } |
| + void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } |
| + |
| + bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } |
| + void setSubzeroTimingEnabled(bool NewValue) { |
| + SubzeroTimingEnabled = NewValue; |
| + } |
| + |
| + bool getDisableTranslation() const { return DisableTranslation; } |
| + void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } |
| + |
| + bool getFunctionSections() const { return FunctionSections; } |
| + void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } |
| + |
| + bool getDataSections() const { return DataSections; } |
| + void setDataSections(bool NewValue) { DataSections = NewValue; } |
| + |
| + bool getUseELFWriter() const { return UseELFWriter; } |
| + void setUseELFWriter(bool NewValue) { UseELFWriter = NewValue; } |
| + |
| + bool getUseIntegratedAssembler() const { return UseIntegratedAssembler; } |
| + void setUseIntegratedAssembler(bool NewValue) { |
| + UseIntegratedAssembler = NewValue; |
| + } |
| + |
| + bool getUseSandboxing() const { return UseSandboxing; } |
| + void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } |
| + |
| + bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
| + void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
| + |
| + bool getDecorateAsm() const { return DecorateAsm; } |
| + void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } |
| + |
| + bool getDumpStats() const { return DumpStats; } |
| + void setDumpStats(bool NewValue) { DumpStats = NewValue; } |
| + |
| + bool getAllowUninitializedGlobals() const { |
| + return AllowUninitializedGlobals; |
| + } |
| + void setAllowUninitializedGlobals(bool NewValue) { |
| + AllowUninitializedGlobals = NewValue; |
| + } |
| + |
| + bool getTimeEachFunction() const { return TimeEachFunction; } |
| + void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } |
| + |
| + bool getDisableIRGeneration() const { return DisableIRGeneration; } |
| + void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; } |
| + |
| + bool getAllowErrorRecovery() const { return AllowErrorRecovery; } |
| + void setAllowErrorRecovery(bool NewValue) { AllowErrorRecovery = NewValue; } |
| + |
| + bool getStubConstantCalls() const { |
| + return IS_MINIMAL_BUILD ? false : StubConstantCalls; |
|
Jim Stichnoth
2015/02/05 22:30:09
Stylistically, I'd prefer:
return !IS_MINIMAL_BU
Karl
2015/02/05 23:57:38
Done.
|
| + } |
| + void setStubConstantCalls(bool NewValue) { StubConstantCalls = NewValue; } |
| + |
| + bool getGenerateUnitTestMessages() const { return GenerateUnitTestMessages; } |
| + void setGenerateUnitTestMessages(bool NewValue) { |
| + GenerateUnitTestMessages = NewValue; |
| + } |
| + |
| + size_t getNumTranslationThreads() const { return NumTranslationThreads; } |
| + void setNumTranslationThreads(size_t NewValue) { |
| + NumTranslationThreads = NewValue; |
| + } |
| + |
| + const IceString &getDefaultGlobalPrefix() const { |
| + return DefaultGlobalPrefix; |
| + } |
| + void setDefaultGlobalPrefix(const IceString &NewValue) { |
| + DefaultGlobalPrefix = NewValue; |
| + } |
| + |
| + const IceString &getDefaultFunctionPrefix() const { |
| + return DefaultFunctionPrefix; |
| + } |
| + void setDefaultFunctionPrefix(const IceString &NewValue) { |
| + DefaultFunctionPrefix = NewValue; |
| + } |
| + |
| + const IceString &getTimingFocusOn() const { return TimingFocusOn; } |
| + void setTimingFocusOn(const IceString &NewValue) { TimingFocusOn = NewValue; } |
| + |
| + const IceString &getVerboseFocusOn() const { return VerboseFocusOn; } |
| + void setVerboseFocusOn(const IceString &NewValue) { |
| + VerboseFocusOn = NewValue; |
| + } |
| + |
| + const IceString &getTranslateOnly() const { return TranslateOnly; } |
| + void setTranslateOnly(const IceString &NewValue) { TranslateOnly = NewValue; } |
| + |
| +private: |
| bool DisableInternal; |
|
Jim Stichnoth
2015/02/05 22:30:09
While you're here, could you alphabetically sort t
Karl
2015/02/05 23:57:38
Done.
|
| bool SubzeroTimingEnabled; |
| bool DisableTranslation; |