Sign in
webkit
/
WebKit
/
6117b7969ae9bfefe57ab827c89504ffb0a59249
/
.
/
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
);