michael@0: // |jit-test| error: InternalError: too much recursion michael@0: function TestCase(n, d, e, a) { michael@0: this.bugnumber = typeof(BUGNUMER) != 'undefined' ? BUGNUMBER : ''; michael@0: this.type = (typeof window == 'undefined' ? 'shell' : 'browser'); michael@0: gTestcases[gTc++] = this; michael@0: if (optionName) {} michael@0: {} {} {} // Seems to be required to crash michael@0: } michael@0: function f() {} michael@0: function g(n, h) { michael@0: var t = g(TestCase.toSource()); michael@0: } michael@0: g(80, f);