Sign in
webkit
/
WebKit
/
fd97eb341789d64d21b450ae8c97e12e74f9a2f2
/
.
/
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
;
})();