1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug858617.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +function TestCase(e, a) { 1.5 + getTestCaseResult(e, a); 1.6 +}; 1.7 +function reportCompare (expected, actual) { 1.8 + new TestCase(expected, actual); 1.9 +} 1.10 +function enterFunc() {} 1.11 +function getTestCaseResult(expected, actual) { 1.12 + return actual == expected; 1.13 +} 1.14 +reportCompare('', ''); 1.15 +evaluate("\ 1.16 +test();\ 1.17 +function test() {\ 1.18 + enterFunc();\ 1.19 + reportCompare();\ 1.20 +}\ 1.21 +");