js/src/jit-test/tests/ion/bug863261.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug863261.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +// |jit-test| error: InternalError: too much recursion
     1.5 +function TestCase(d) {
     1.6 +    toPrinted(d)
     1.7 +}
     1.8 +function toPrinted(value) {}
     1.9 +function reportCompare (expected, actual, description) {
    1.10 +    if (typeof description == "undefined")
    1.11 +        toPrinted(expected);
    1.12 +    new TestCase(description);
    1.13 +    reportCompare();
    1.14 +}
    1.15 +reportCompare(Math['LN2'], Math['LN2'], 0);

mercurial