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