Bug 877437 - Followup to fix test bustage; r=themaid
☠☠ backed out by 3aa2a28398e2 ☠ ☠
authorTerrence Cole <terrence@mozilla.com>
Wed, 11 Sep 2013 19:00:43 -0700
changeset 146734 5ec98e8b1be9f619dca62e255bf22e46a96fb1e4
parent 146733 00c58bce0d2d1e0d13ee29656c8c26d7d9ce70bf
child 146735 82d94735ba7f2d4f03fce39a03b453dd5c1f5ce3
push id25270
push useremorley@mozilla.com
push dateThu, 12 Sep 2013 11:04:52 +0000
treeherdermozilla-central@b83f6d80af5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersthemaid
bugs877437
milestone26.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 877437 - Followup to fix test bustage; r=themaid
js/src/jit-test/tests/oom/bug-877437.js
--- a/js/src/jit-test/tests/oom/bug-877437.js
+++ b/js/src/jit-test/tests/oom/bug-877437.js
@@ -1,8 +1,10 @@
 // |jit-test| ion-eager; allow-oom
-x = [];
-x[12] = 1;
-x.unshift(0);
-x.unshift(0);
-x.sort(function() {
-  oomAfterAllocations(5);
-})
+if (typeof oomAfterAllocations == 'function') {
+    x = [];
+    x[12] = 1;
+    x.unshift(0);
+    x.unshift(0);
+    x.sort(function() {
+      oomAfterAllocations(5);
+    })
+}