Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
JSTests
/
stress
/
normalize-map-key-constant-folding.js
blob: e30437abba240ced279b95ac698ba26bb80aade8 [
file
] [
log
] [
blame
]
function
test
(
i
)
{
var
map
=
new
Map
();
var
key
=
"Hello"
;
if
(
i
&
0x1
)
key
=
42
;
map
.
set
(
key
,
42
);
return
map
;
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
test
(
i
);