blob: 0929f9d3f65eb023fc6f6248a93042448e95595d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| --no-threads; --baseline-warmup-threshold=1
function g(obj, v) {
obj.prop = v;
}
function f() {
var obj = {prop: 2};
for (var j = 0; j < 20; j++) {}
for (var i = 0; i < 100; i++) {
g(/x/, 1);
g(obj, false);
}
}
f();
|