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