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