git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[JSC] Clean up Object.entries implementation
[WebKit-https.git]
/
JSTests
/
microbenchmarks
/
put-by-val-machine-int.js
1
function foo(a, v) {
2
a[0] = v + 2000000000;
3
}
4
5
noInline(foo);
6
7
for (var i = 0; i < 100000; ++i) {
8
var a = new Int32Array(1);
9
foo(a, 2000000000);
10
if (a[0] != -294967296)
11
throw "Error: bad value: " + a[0];
12
}