blob: 5bfdd397118457ad9c42c3d3c3347650ccc1f049 [file] [log] [blame]
sbarati@apple.comb6b117a2016-11-11 23:03:41 +00001function ident() { return "foo"; }
2noInline(ident);
3
4let o = {
5 set foo(x) {
6 foo(false);
7 }
8};
9
10function foo(cond) {
11 if (cond)
12 o[ident()] = 20;
13}
14
15for (let i = 0; i < 10000; i++) {
16 foo(true);
17}