Bug 1192329 - Fix broken asm tests by explicitly setting js version; r=jorendorff
authorMorgan Phillips <winter2718@gmail.com>
Fri, 23 Oct 2015 12:42:53 -0700
changeset 304527 cc0945ec65c682d140c9a6945fe623358817c935
parent 304526 c7641c84643083baf7e43244420e846fc99207ba
child 304528 95f191207f8d3ea3e9b32145ae197216fd197762
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1192329
milestone44.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 1192329 - Fix broken asm tests by explicitly setting js version; r=jorendorff These tests should run on ecma 5.
js/src/jit-test/lib/prologue.js
--- a/js/src/jit-test/lib/prologue.js
+++ b/js/src/jit-test/lib/prologue.js
@@ -1,13 +1,15 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+// explicitly run on ECMA 5
+version(185);
 
 var appendToActual = function(s) {
     actual += s + ',';
 }
 
 if (!("gczeal" in this)) {
   gczeal = function() { }
 }