Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
microbenchmarks
/
double-get-by-val-out-of-bounds.js
blob: 48b0c42e4a6dc3cc64ebfaa137c60f725a28121b [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
return
a
[
1
];
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
result
=
foo
([
42.5
]);
if
(
result
!==
void
0
)
throw
"Error: bad value: "
+
result
;
}