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