Sign in
webkit
/
WebKit
/
3fa74877b7c536983f160d5f9f2d7ff9b7539e24
/
.
/
JSTests
/
microbenchmarks
/
direct-call-arity-mismatch.js
blob: 6a245000c50d757a41a1a1288417f2fc3cae0a19 [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
,
c
,
d
,
e
,
f
,
g
)
{
return
42
;
}
function
bar
()
{
return
foo
();
}
noInline
(
foo
);
noInline
(
bar
);
(
function
()
{
for
(
var
i
=
0
;
i
<
10000000
;
++
i
)
{
var
result
=
bar
();
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}
})();