1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/debug/Debugger-findScripts-11-script2 Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +// -*- mode: js2 -*- 1.5 +// Line numbers in this file are checked in Debugger-findScripts-11.js. 1.6 + 1.7 +// line 3 1.8 + 1.9 +var x = ""; 1.10 +function f() { 1.11 + x += "the map"; // line 8 1.12 + return function g() { 1.13 + return "to me what you have stolen"; // line 10 1.14 + }; 1.15 +} 1.16 + 1.17 +function h(x, y) { 1.18 + if (x == 0) return y+1; // line 15 1.19 + if (y == 0) return h(x-1, 1); 1.20 + return h(x-1, h(x, y-1)); 1.21 +}