Sign in
webkit
/
WebKit
/
1c7d0e6821998d9f5e927f04218eaa12c2aeca32
/
.
/
JSTests
/
microbenchmarks
/
plus-boolean-double.js
blob: 9b5aac80fbaf9e93a44e7b4c6e87f71a1d888a83 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
(
True
)
{
var
x
=
0.5
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
+=
True
;
if
(
x
!=
n
+
0.5
)
throw
"Error: bad result: "
+
x
;
})(
true
);