Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
bug646001.js
blob: eabdb12dc47c36710642cab83f7d87469eb6d7c7 [
file
] [
log
] [
blame
]
function
jit
(
on
)
{
if
(
on
&&
!
options
().
match
(
/tracejit/
))
{
}
}
try
{
test
();
}
catch
(
e
)
{}
function
test
(
)
{
for
(
var
j
=
0
;
j
<
5
;++
j
)
{
switch
(
1.1
)
{
case
2
:
case
NaN
:
}
}
jit
(
false
);
reportCompare
(
'xxxxxxx'
.
test
(
new
j
(
'(x+)(x*)'
)));
}