repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
direct-construct.js
blob
e4268616529e351c6f79e3977b603b05327b94b6
1
function
Foo
()
2
{
3
this
.
f
=
42
;
4
}
5
6
function
bar
()
7
{
8
return new
Foo
();
9
}
10
11
noInline
(
Foo
);
12
noInline
(
bar
);
13
14
(
function
() {
15
for
(
var
i
=
0
;
i
<
10000000
; ++
i
) {
16
var
result
=
bar
();
17
if
(
result
.
f
!=
42
)
18
throw
"Error: bad result: "
+
result
;
19
}
20
})();
21