summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug757199.js
blob: 73adacd8e22d41d0a989da67acf98afe19b2a949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function ctor()
{
    this.a = 1;
    this.b = 2;
}
function f2(o)
{
    o.c = 12;
}
function f()
{
    var x = new ctor();
    verifyprebarriers();
    f2(x);
    verifyprebarriers();
}
f();
f();
var o = {};
for (var i=0; i<1000; i++)
    o['a'+i] = 3;
f();
f();