Sign in
webkit
/
WebKit
/
62c15071e892ba610c3477e054612dec44c8d322
/
.
/
JSTests
/
stress
/
switch-constant-child-becomes-empty.js
blob: 736df17e44d70a47e0bc0ad267e70dc07515efd2 [
file
] [
log
] [
blame
]
//@ runDefault("--useConcurrentJIT=0")
function
foo
(
x
)
{
switch
(
x
)
{
case
"a"
:
case
"a"
:
case
"a"
:
for
(
let j
=
0
;
j
<
100
;
j
++)
{
let j
=
foo
(
j
);
}
default
:
return
2
;
}
}
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
foo
(
"ab"
);
}