Sign in
webkit
/
WebKit
/
84c082c1adc8c505a644dc9092e891f52c30e8c0
/
.
/
JSTests
/
microbenchmarks
/
get-by-val-with-symbol-bimorphic-check-structure-elimination-simple.js
blob: e85d32af5032cd0458578495c3779925985f307e [
file
] [
log
] [
blame
]
(
function
()
{
var
a
=
Symbol
(),
l
=
Symbol
();
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
;
})();