| Index: src/IceClFlags.h
|
| diff --git a/src/IceClFlags.h b/src/IceClFlags.h
|
| index 43527b80d7bae930aa4a2a4daf6a106a05e9aaa6..3ddbbf8195b66fde39b05bbc21ab6ef37a1af449 100644
|
| --- a/src/IceClFlags.h
|
| +++ b/src/IceClFlags.h
|
| @@ -31,8 +31,9 @@ public:
|
| DisableTranslation(false), DumpStats(false), FunctionSections(false),
|
| GenerateUnitTestMessages(false), PhiEdgeSplit(false),
|
| StubConstantCalls(false), SubzeroTimingEnabled(false),
|
| - TimeEachFunction(false), UseELFWriter(false),
|
| - UseIntegratedAssembler(false), UseSandboxing(false),
|
| + TimeEachFunction(false), UseSandboxing(false),
|
| + // FileType field
|
| + OutFileType(FT_Iasm),
|
| // IceString fields.
|
| DefaultFunctionPrefix(""), DefaultGlobalPrefix(""), TimingFocusOn(""),
|
| TranslateOnly(""), VerboseFocusOn(""),
|
| @@ -99,17 +100,13 @@ public:
|
| bool getTimeEachFunction() const { return ALLOW_DUMP && TimeEachFunction; }
|
| void setTimeEachFunction(bool NewValue) { TimeEachFunction = 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; }
|
|
|
| + // FileType accessor.
|
| + FileType getOutFileType() const { return OutFileType; }
|
| + void setOutFileType(FileType NewValue) { OutFileType = NewValue; }
|
| +
|
| // IceString accessors.
|
|
|
| const IceString &getDefaultFunctionPrefix() const {
|
| @@ -160,10 +157,10 @@ private:
|
| bool StubConstantCalls;
|
| bool SubzeroTimingEnabled;
|
| bool TimeEachFunction;
|
| - bool UseELFWriter;
|
| - bool UseIntegratedAssembler;
|
| bool UseSandboxing;
|
|
|
| + FileType OutFileType;
|
| +
|
| IceString DefaultFunctionPrefix;
|
| IceString DefaultGlobalPrefix;
|
| IceString TimingFocusOn;
|
|
|