Chromium Code Reviews| 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); |