Bug 1160311. JITs should be enabled by default. r=jorendorff
☠☠ backed out by fd384372c651 ☠ ☠
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 30 Apr 2015 17:36:50 -0400
changeset 273303 2736f805602675f719a38304ec689472e0e497c2
parent 273302 b39354cd8c5d4ca234f3d8dcbc5e082674f3ccb2
child 273304 2ac0d383d39a83bbd27cce543753aea8c357beca
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1160311
milestone40.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 1160311. JITs should be enabled by default. r=jorendorff
js/src/jsapi.h
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -1173,21 +1173,21 @@ JS_VersionToString(JSVersion version);
 extern JS_PUBLIC_API(JSVersion)
 JS_StringToVersion(const char* string);
 
 namespace JS {
 
 class JS_PUBLIC_API(RuntimeOptions) {
   public:
     RuntimeOptions()
-      : baseline_(false),
-        ion_(false),
-        asmJS_(false),
-        nativeRegExp_(false),
-        unboxedObjects_(false),
+      : baseline_(true),
+        ion_(true),
+        asmJS_(true),
+        nativeRegExp_(true),
+        unboxedObjects_(false), // Not enabled by default yet
         werror_(false),
         strictMode_(false),
         extraWarnings_(false),
         varObjFix_(false)
     {
     }
 
     bool baseline() const { return baseline_; }