-1:000000000000 | 0:3d446939f652 |
---|---|
1 // |jit-test| error:out of memory | |
2 | |
3 gcPreserveCode(); | |
4 evaluate("gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4*1024);"); | |
5 evaluate("\ | |
6 function testDontEnum(F) { \ | |
7 function test() {\ | |
8 var upvar = \"\";\ | |
9 function f() { upvar += \"\"; }\ | |
10 typeof (new test(\"1\")) != 'function'\ | |
11 }\ | |
12 test();\ | |
13 } \ | |
14 var list = [];\ | |
15 for (i in list)\ | |
16 var F = this[list[i]];\ | |
17 actual = testDontEnum(F);\ | |
18 "); |