Sign in
webkit
/
WebKit
/
f49b03c15d8d2a6a2f383c9d134f9d610877184f
/
.
/
JSTests
/
stress
/
hoist-get-by-offset-with-control-dependent-inferred-type.js
blob: a06b7e1ed2072da486c49f2ddafe051d25c79c1d [
file
] [
log
] [
blame
]
function
f
()
{
var
a
=
Array
(
100
).
fill
(
0
);
var
ta
=
new
Set
(
a
.
map
((
v
,
k
)=>
k
));
var
xs
=
[
a
,
ta
];
var
q
=
0
;
var
t
=
Date
.
now
();
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
for
(
var
x of xs
[
i
&
1
])
q
+=
x
;
}
return
[
Date
.
now
()-
t
,
q
];
}
noInline
(
f
);
f
();