repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
direct-tail-call-inlined-caller-arity-mismatch.js
blob
00bc01de451c07498ad804f589e4184b7c7e5992
1
"use strict";
2
3
function foo(a, b, c, d, e, f, g)
4
{
5
return 42;
6
}
7
8
function bar()
9
{
10
return foo();
11
}
12
13
function baz()
14
{
15
return bar() + 1;
16
}
17
18
noInline(foo);
19
noInline(baz);
20
21
(function() {
22
for (var i = 0; i < 10000000; ++i) {
23
var result = baz();
24
if (result != 43)
25
throw "Error: bad result: " + result;
26
}
27
})();
28