Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
microbenchmarks
/
strict-osr-entry.js
blob: d7546878d47d3f10608084fb1b8e78cdd6ecc94e [
file
] [
log
] [
blame
]
"use strict"
;
(
function
()
{
let o
=
{
apply_
(
a
,
b
)
{
return
a
+
b
;
}
};
let result
=
0
;
for
(
let i
=
0
;
i
<
10000000
;
++
i
)
result
=
o
.
apply_
(
result
,
1
);
if
(
result
!=
10000000
)
throw
new
"Bad result: "
+
result
;
})();