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

Unified Diff: src/llvm2ice.cpp

Issue 631383003: Subzero: Fix emission of global initializers. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove the -disable-globals option Created 6 years, 2 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 637eb16c4a27fd629fc2cf0e7370f0cfbfcd477b..3546b84c87bfacfc63c77f757103f0fd2ca225df 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -111,10 +111,6 @@ static cl::opt<std::string> VerboseFocusOn(
cl::desc("Temporarily enable full verbosity for a specific function"),
cl::init(""));
-static cl::opt<bool>
-DisableGlobals("disable-globals",
- cl::desc("Disable global initializer translation"));
-
// This is currently unused, and is a placeholder for lit tests.
static cl::opt<bool>
DisablePhiEdgeSplit("no-phi-edge-split",
@@ -197,7 +193,6 @@ int main(int argc, char **argv) {
Flags.DisableInternal = DisableInternal;
Flags.SubzeroTimingEnabled = SubzeroTimingEnabled;
Flags.DisableTranslation = DisableTranslation;
- Flags.DisableGlobals = DisableGlobals;
Flags.FunctionSections = FunctionSections;
Flags.DataSections = DataSections;
Flags.UseIntegratedAssembler = UseIntegratedAssembler;

Powered by Google App Engine
This is Rietveld 408576698