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