Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
JSTests
/
microbenchmarks
/
put-by-val-machine-int.js
blob: 6c528737681912f2376ce570aaeac45f42c752f0 [
file
] [
log
] [
blame
]
function
foo
(
a
,
v
)
{
a
[
0
]
=
v
+
2000000000
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
a
=
new
Int32Array
(
1
);
foo
(
a
,
2000000000
);
if
(
a
[
0
]
!=
-
294967296
)
throw
"Error: bad value: "
+
a
[
0
];
}