Sign in
webkit
/
WebKit
/
6ddc9d48eb4dde936b8551b5167248cba0f85d9c
/
.
/
JSTests
/
microbenchmarks
/
get-by-id-bimorphic-check-structure-elimination-simple.js
blob: 2f136d4b388a0772758b34bd853418e48561e1af [
file
] [
log
] [
blame
]
(
function
()
{
var
o
=
{
a
:
1
};
var
p
=
{
a
:
2
,
l
:
13
};
var
result
=
0
;
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
result
^=
o
.
a
;
var
tmp
=
o
;
o
=
p
;
p
=
tmp
;
}
if
(
result
!=
0
)
throw
"Error: bad result: "
+
result
;
})();