Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug831087.js
blob: fb672075dffeb493048b213179dcc2f2e6c442dd [
file
] [
log
] [
blame
]
function
isNegZero
(
x
)
{
return
x
===
0
&&
(
1
/
x
)===-
Infinity
;
}
try
{
for
(
y
=
0
;
y
<
1
;
y
++)
{
x
=
y
;
}
}
catch
(
e
)
{}
function
f
()
{
(
x
/=
-
9
)
}
f
()
assertEq
(
isNegZero
(
this
.
x
),
true
);