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

Unified Diff: src/IceClFlags.cpp

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: changes suggested by stichnot Created 5 years 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/IceClFlags.cpp
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp
index b922d4000388748b1aa17f500811010cf3dafaac..a11dea6a047590273b61d5665db31883bcbfffc3 100644
--- a/src/IceClFlags.cpp
+++ b/src/IceClFlags.cpp
@@ -82,9 +82,7 @@ cl::opt<bool> DisableHybridAssembly(
cl::opt<bool> DisableInternal("externalize",
cl::desc("Externalize all symbols"));
-// Note: Modifiable only if ALLOW_DISABLE_IR_GEN.
-cl::opt<bool> DisableIRGeneration("no-ir-gen",
- cl::desc("Disable generating Subzero IR."));
+
cl::opt<bool> DisableTranslation("notranslate",
cl::desc("Disable Subzero translation"));
@@ -390,7 +388,6 @@ void ClFlags::resetClFlags(ClFlags &OutFlags) {
OutFlags.DecorateAsm = false;
OutFlags.DisableHybridAssembly = false;
OutFlags.DisableInternal = false;
- OutFlags.DisableIRGeneration = false;
OutFlags.DisableTranslation = false;
OutFlags.DumpStats = false;
OutFlags.EnableBlockProfile = false;
@@ -434,8 +431,6 @@ void ClFlags::resetClFlags(ClFlags &OutFlags) {
}
void ClFlags::getParsedClFlags(ClFlags &OutFlags) {
- if (::DisableIRGeneration)
- ::DisableTranslation = true;
Jim Stichnoth 2015/12/12 15:43:42 remove extra blank line as well
rkotlerimgtec 2015/12/14 03:12:12 Done.
Ice::VerboseMask VMask = Ice::IceV_None;
// Don't generate verbose messages if routines to dump messages are not
@@ -457,7 +452,6 @@ void ClFlags::getParsedClFlags(ClFlags &OutFlags) {
OutFlags.setDisableHybridAssembly(::DisableHybridAssembly ||
(::OutFileType != Ice::FT_Iasm));
OutFlags.setDisableInternal(::DisableInternal);
- OutFlags.setDisableIRGeneration(::DisableIRGeneration);
OutFlags.setDisableTranslation(::DisableTranslation);
OutFlags.setDumpStats(::DumpStats);
OutFlags.setEnableBlockProfile(::EnableBlockProfile);

Powered by Google App Engine
This is Rietveld 408576698