Sign in
webkit
/
WebKit
/
00d9c36630c3b100532e86e2616da21d7c5e504a
/
.
/
JSTests
/
stress
/
map-iterator-check-before-fail.js
blob: 9d0fe986e0b674a68b41adbfc5489e92123d427c [
file
] [
log
] [
blame
]
var
entries
=
Map
.
prototype
.
entries
;
function
test
(
map
)
{
entries
.
call
(
map
);
}
noInline
(
test
);
var
map
=
new
Map
();
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
{
test
(
map
);
}
var
array
=
[];
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
{
try
{
test
(
array
);
}
catch
{
}
}