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