blob: 9fa94e8f2058d932bd0e5d566402fea1c8e916ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// |jit-test| --fast-warmup
// This test triggers a GC in CreateThisForIC,
// while using the arguments rectifier.
var records = [];
function Record(val) {
return Object.create(null);
}
function init() {
records.push(new Record());
}
function f() {
for (var i = 0; i < 100; i++) {
init();
}
}
gczeal(14,25);
f();
|