summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/test-bug1026485.js
blob: 22865f526562f2ad68923787d0a5b56e05115e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

function TestCase(n, d, e, a)
  TestCase.prototype.dump = function () {}
enableSPSProfiling();
new TestCase(typeof Number(new Number()));
new TestCase(typeof Number(new Number(Number.NaN)));
test();
function test() {
    try {
        test();
    } catch (e) {
        new TestCase();
    }
}