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