1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug743071.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +// Binary: cache/js-dbg-64-a9a18824b4c1-linux 1.5 +// Flags: --ion-eager 1.6 +// 1.7 + 1.8 +{ 1.9 + try 1.10 + { 1.11 + try 1.12 + { 1.13 + } 1.14 + catch(ex1) 1.15 + { 1.16 + } 1.17 + } 1.18 + catch(ex) 1.19 + { 1.20 + } 1.21 +} 1.22 +function optionsClear() { 1.23 + var optionNames = options().split(','); 1.24 + for (var i = 0; i < optionNames.length; i++) 1.25 + { 1.26 + var optionName = optionNames[i]; 1.27 + if (optionName && 1.28 + optionName != "methodjit_always") 1.29 + { 1.30 + options(optionName); 1.31 + } 1.32 + } 1.33 +} 1.34 +{ 1.35 + optionsClear(); 1.36 + { 1.37 + } 1.38 +} 1.39 +function test() { 1.40 + for ( gTc=0; gTc < gTestcases.length; gTc++ ) { 1.41 + try 1.42 + { 1.43 + } 1.44 + catch(e) 1.45 + { 1.46 + } 1.47 + } 1.48 +} 1.49 +try { 1.50 +var g = newGlobal(); 1.51 +g.eval("(" + function () { 1.52 + dbg = new Debugger(debuggeeGlobal); 1.53 + } + ")();"); 1.54 +} catch(exc0) {}