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

Unified Diff: src/llvm2ice.cpp

Issue 905463003: Adds accessor methods to class ClFlags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: src/llvm2ice.cpp
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp
index 2f3176500cfd64dd2b98c24e86e4ad00a22ac363..017fdf9c27b4c2e5169bd8b85e191905522049d0 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -298,28 +298,28 @@ int main(int argc, char **argv) {
}
Ice::ClFlags Flags;
- Flags.DisableInternal = DisableInternal;
- Flags.SubzeroTimingEnabled = SubzeroTimingEnabled;
- Flags.DisableTranslation = DisableTranslation;
- Flags.FunctionSections = FunctionSections;
- Flags.DataSections = DataSections;
- Flags.UseELFWriter = UseELFWriter;
- Flags.UseIntegratedAssembler = UseIntegratedAssembler;
- Flags.UseSandboxing = UseSandboxing;
- Flags.PhiEdgeSplit = EnablePhiEdgeSplit;
- Flags.DecorateAsm = DecorateAsm;
- Flags.DumpStats = DumpStats;
- Flags.AllowUninitializedGlobals = AllowUninitializedGlobals;
- Flags.TimeEachFunction = TimeEachFunction;
- Flags.NumTranslationThreads = NumThreads;
- Flags.DefaultGlobalPrefix = DefaultGlobalPrefix;
- Flags.DefaultFunctionPrefix = DefaultFunctionPrefix;
- Flags.TimingFocusOn = TimingFocusOn;
- Flags.VerboseFocusOn = VerboseFocusOn;
- Flags.TranslateOnly = TranslateOnly;
- Flags.DisableIRGeneration = DisableIRGeneration;
- Flags.AllowErrorRecovery = AllowErrorRecovery;
- Flags.StubConstantCalls = StubConstantCalls;
+ Flags.setDisableInternal(DisableInternal);
+ Flags.setSubzeroTimingEnabled(SubzeroTimingEnabled);
+ Flags.setDisableTranslation(DisableTranslation);
+ Flags.setFunctionSections(FunctionSections);
+ Flags.setDataSections(DataSections);
+ Flags.setUseELFWriter(UseELFWriter);
+ Flags.setUseIntegratedAssembler(UseIntegratedAssembler);
+ Flags.setUseSandboxing(UseSandboxing);
+ Flags.setPhiEdgeSplit(EnablePhiEdgeSplit);
+ Flags.setDecorateAsm(DecorateAsm);
+ Flags.setDumpStats(DumpStats);
+ Flags.setAllowUninitializedGlobals(AllowUninitializedGlobals);
+ Flags.setTimeEachFunction(TimeEachFunction);
+ Flags.setNumTranslationThreads(NumThreads);
+ Flags.setDefaultGlobalPrefix(DefaultGlobalPrefix);
+ Flags.setDefaultFunctionPrefix(DefaultFunctionPrefix);
+ Flags.setTimingFocusOn(TimingFocusOn);
+ Flags.setVerboseFocusOn(VerboseFocusOn);
+ Flags.setTranslateOnly(TranslateOnly);
+ Flags.setDisableIRGeneration(DisableIRGeneration);
+ Flags.setAllowErrorRecovery(AllowErrorRecovery);
+ Flags.setStubConstantCalls(StubConstantCalls);
// Force -build-on-read=0 for .ll files.
const std::string LLSuffix = ".ll";

Powered by Google App Engine
This is Rietveld 408576698