blob: b099c7ce8a0612b23c1bc1ed1b46da78169ea105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |jit-test| --no-threads; --baseline-warmup-threshold=10; --ion-warmup-threshold=100; --fuzzing-safe; --gc-zeal=10
const v7 = {};
function foo(n) {
if (n == 0) return;
const v13 = Object(Object);
const v14 = v13(v7);
const v15 = v13.create(v13);
v15.setPrototypeOf(v14, v13);
const v18 = v15.assign(v14).create(v14); // 1
v18.is(v18, v18); // 2
foo(n-1);
}
foo(2000);
|