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