blob: b623e04fee246e5206f17c6d6aa88bd21619fcf1 [file] [log] [blame]
sbarati@apple.com5d2af1a2018-09-19 21:00:08 +00001//@ runDefault("--collectContinuously=1", "--useConcurrentJIT=0", "--useConcurrentGC=1")
2
3function foo(oo) {
4 oo.x = 4;
5 oo.y = 4;
6 oo.e = oo;
7 oo.e = 7;
8 oo.f = 8;
9}
10noInline(foo);
11
12function Foo() {
13 foo(this);
14}
15
16for (var i = 0; i < 100000; i++) {
17 g();
18}
19
20function g(){
21 foo({f:8});
22 new Foo();
23 new Foo();
24 new Foo();
25}