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

Unified Diff: src/IceClFlags.cpp

Issue 1071423003: Revert "Fix locking for printing error messages." (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceClFlags.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.cpp
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp
index fda4e065f6ff2b97ebf76ec3254810314a5a6216..9e24665744ff286f2cc59c43938becb6f14604c8 100644
--- a/src/IceClFlags.cpp
+++ b/src/IceClFlags.cpp
@@ -245,43 +245,6 @@ void ClFlags::parseFlags(int argc, char **argv) {
AppName = IceString(argv[0]);
}
-void ClFlags::resetClFlags(ClFlags &OutFlags) {
- // bool fields
- OutFlags.AllowErrorRecovery = false;
- OutFlags.AllowUninitializedGlobals = false;
- OutFlags.DataSections = false;
- OutFlags.DecorateAsm = false;
- OutFlags.DisableInternal = false;
- OutFlags.DisableIRGeneration = false;
- OutFlags.DisableTranslation = false;
- OutFlags.DumpStats = false;
- OutFlags.FunctionSections = false;
- OutFlags.GenerateUnitTestMessages = false;
- OutFlags.PhiEdgeSplit = false;
- OutFlags.RandomNopInsertion = false;
- OutFlags.RandomRegAlloc = false;
- OutFlags.SubzeroTimingEnabled = false;
- OutFlags.TimeEachFunction = false;
- OutFlags.UseSandboxing = false;
- // Enum and integer fields.
- OutFlags.Opt = Opt_m1;
- OutFlags.OutFileType = FT_Iasm;
- OutFlags.RandomMaxNopsPerInstruction = 0;
- OutFlags.RandomNopProbabilityAsPercentage = 0;
- OutFlags.TArch = TargetArch_NUM;
- OutFlags.VMask = IceV_None;
- // IceString fields.
- OutFlags.DefaultFunctionPrefix = "";
- OutFlags.DefaultGlobalPrefix = "";
- OutFlags.TestPrefix = "";
- OutFlags.TimingFocusOn = "";
- OutFlags.TranslateOnly = "";
- OutFlags.VerboseFocusOn = "";
- // size_t and 64-bit fields.
- OutFlags.NumTranslationThreads = 0;
- OutFlags.RandomSeed = 0;
-}
-
void ClFlags::getParsedClFlags(ClFlags &OutFlags) {
if (::DisableIRGeneration)
::DisableTranslation = true;
« no previous file with comments | « src/IceClFlags.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698