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