Bug 1339406 - Part 4: Remove tests for methodjit shell options. r=arai
authorAndré Bargull <andre.bargull@gmail.com>
Tue, 14 Feb 2017 10:26:15 -0800
changeset 342912 509ba75cce2b4ad687aeb7f9da68b5961a1cee4e
parent 342911 fb11e452585acf4962614232a8c80da891896ad3
child 342913 c5f655086e0cf6ab05ad63f81f36cf8ef40325f4
push id31366
push usercbook@mozilla.com
push dateWed, 15 Feb 2017 11:25:19 +0000
treeherdermozilla-central@c0807d6938c1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1339406
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1339406 - Part 4: Remove tests for methodjit shell options. r=arai
js/src/tests/shell.js
--- a/js/src/tests/shell.js
+++ b/js/src/tests/shell.js
@@ -833,21 +833,17 @@ function optionsInit() {
 function optionsClear() {
 
   // turn off current settings
   // except jit.
   var optionNames = options().split(',');
   for (var i = 0; i < optionNames.length; i++)
   {
     var optionName = optionNames[i];
-    if (optionName &&
-        optionName != "methodjit" &&
-        optionName != "methodjit_always" &&
-        optionName != "ion")
-    {
+    if (optionName && optionName !== "ion") {
       options(optionName);
     }
   }
 }
 
 function optionsPush()
 {
   var optionsframe = {};