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
/
no-inline-constructor.js
blob
e852eb57edd9f521ec536282434efee5110656d9
1
function Foo() {
2
var o = {f:{f:{f:{f:42}}}};
3
this.f = 42;
4
}
5
6
noInline(Foo);
7
8
for (var i = 0; i < 3000000; ++i) {
9
var result = new Foo();
10
if (result.f != 42)
11
throw "Error: bad result: " + result.f;
12
}
13