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