Bug 1255954 - Assertion failure: !blockDepth_, at js/src/asmjs/AsmJS.cpp:2636 with OOM: Followup: quit if oomTest is undefined. r=jandem on IRC to fix CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 14 Mar 2016 17:26:57 +0100
changeset 288559 96b5a49990152aeb3198bdd08b94557cf7ec65f3
parent 288558 db5ef9e43187441dea6aedd46d3d27bc4c9cd66b
child 288560 61492626c26afd375cfd7982e7fb751fa45a5f45
push id73455
push userarchaeopteryx@coole-files.de
push dateMon, 14 Mar 2016 16:27:37 +0000
treeherdermozilla-inbound@96b5a4999015 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1255954
milestone48.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 1255954 - Assertion failure: !blockDepth_, at js/src/asmjs/AsmJS.cpp:2636 with OOM: Followup: quit if oomTest is undefined. r=jandem on IRC to fix CLOSED TREE
js/src/jit-test/tests/asm.js/testBug1255954.js
--- a/js/src/jit-test/tests/asm.js/testBug1255954.js
+++ b/js/src/jit-test/tests/asm.js/testBug1255954.js
@@ -1,9 +1,11 @@
 const USE_ASM = '"use asm";';
+if (!('oomTest' in this))
+    quit();
 function asmCompile() {
     var f = Function.apply(null, arguments);
 }
 oomTest(() => {
     try {
         function f(b) {}
     } catch (exc0) {}
     f(asmCompile(USE_ASM + "function f() { var i=42; return i|0; for(;1;) {} return 0 } return f"));