Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
recompile
/
patchdouble.js
blob: 4de0838138770f05fa97c8d7da33d80f83368ec8 [
file
] [
log
] [
blame
]
// only fix doubles for slots which the recompiled script thinks are doubles.
function
foo
(
x
)
{
var
y
=
x
&
0xffff
;
y
=
(
y
*
(
x
*
1000
));
assertEq
(
y
,
140735340806145000
);
}
foo
(
0x7fffffff
);