mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 909389 - Remove --ion-compile-try-catch shell flag. r=djvj
This commit is contained in:
parent
3f4c3e3d5e
commit
06a9724510
@ -3846,9 +3846,6 @@ IonBuilder::jsop_try()
|
||||
{
|
||||
JS_ASSERT(JSOp(*pc) == JSOP_TRY);
|
||||
|
||||
if (!js_JitOptions.compileTryCatch)
|
||||
return abort("Try-catch support disabled");
|
||||
|
||||
// Try-finally is not yet supported.
|
||||
if (analysis().hasTryFinally())
|
||||
return abort("Has try-finally");
|
||||
|
@ -63,9 +63,6 @@ JitOptions::JitOptions()
|
||||
// RangeAnalysis results.
|
||||
SET_DEFAULT(checkRangeAnalysis, false);
|
||||
|
||||
// Whether Ion should compile try-catch statements.
|
||||
SET_DEFAULT(compileTryCatch, true);
|
||||
|
||||
// Toggle whether eager scalar replacement is globally disabled.
|
||||
SET_DEFAULT(disableScalarReplacement, true); // experimental
|
||||
|
||||
|
@ -32,7 +32,6 @@ struct JitOptions
|
||||
bool checkOsiPointRegisters;
|
||||
#endif
|
||||
bool checkRangeAnalysis;
|
||||
bool compileTryCatch;
|
||||
bool disableScalarReplacement;
|
||||
bool disableGvn;
|
||||
bool disableLicm;
|
||||
|
@ -5729,9 +5729,6 @@ SetRuntimeOptions(JSRuntime *rt, const OptionParser &op)
|
||||
if (op.getBoolOption("ion-eager"))
|
||||
jit::js_JitOptions.setEagerCompilation();
|
||||
|
||||
if (op.getBoolOption("ion-compile-try-catch"))
|
||||
jit::js_JitOptions.compileTryCatch = true;
|
||||
|
||||
bool offthreadCompilation = true;
|
||||
if (const char *str = op.getStringOption("ion-offthread-compile")) {
|
||||
if (strcmp(str, "off") == 0)
|
||||
@ -5974,7 +5971,6 @@ main(int argc, char **argv, char **envp)
|
||||
" backtracking: Priority based backtracking register allocation\n"
|
||||
" stupid: Simple block local register allocation")
|
||||
|| !op.addBoolOption('\0', "ion-eager", "Always ion-compile methods (implies --baseline-eager)")
|
||||
|| !op.addBoolOption('\0', "ion-compile-try-catch", "Ion-compile try-catch statements")
|
||||
|| !op.addStringOption('\0', "ion-offthread-compile", "on/off",
|
||||
"Compile scripts off thread (default: on)")
|
||||
|| !op.addStringOption('\0', "ion-parallel-compile", "on/off",
|
||||
|
Loading…
Reference in New Issue
Block a user