Sign in
webkit
/
WebKit
/
7d815df5a5eb5a0a67d72260d5639681d50d7f66
/
.
/
JSTests
/
stress
/
each-block-at-top-of-polymorphic-call-inlining-should-be-exitOK.js
blob: 607ee3253ddabd1b1e0421f7eb85d8b415fe17e5 [
file
] [
log
] [
blame
]
"use strict"
;
function
f
()
{
};
noInline
(
f
);
function
foo
(
o
,
x
)
{
return
o
.
get
(
x
);
}
noInline
(
foo
);
let objs
=
[
new
Map
,
{
get
()
{
return
f
();
}
},
];
for
(
let i
=
0
;
i
<
1000000
;
++
i
)
{
foo
(
objs
[
i
%
objs
.
length
],
i
);
}