repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
get-by-id-quadmorphic-check-structure-elimination-simple.js
blob
80ebfda5325a58e1b85cea77324df28cddb257a0
1
(function() {
2
var o = {a:1};
3
var p = {a:2, l:13};
4
var q = {a:3, b:3};
5
var r = {a:4, c:5};
6
var result = 0;
7
for (var i = 0; i < 1000000; ++i) {
8
result ^= o.a;
9
var tmp = o;
10
o = p;
11
p = q;
12
q = r;
13
r = tmp;
14
}
15
if (result != 0)
16
throw "Error: bad result: " + result;
17
})();