summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/test-bug1026485.js
blob: 4d0acc9c4cda63257ca273fd572d156bfe5a7d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function TestCase(n, d, e, a) {
  return TestCase.prototype.dump = function () {};
}
enableGeckoProfiling();
new TestCase(typeof Number(new Number()));
new TestCase(typeof Number(new Number(Number.NaN)));
test();
function test() {
    try {
        test();
    } catch (e) {
        new TestCase();
    }
}