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