Sign in
webkit
/
WebKit
/
b387ed984cfa86e07321d6d915fc6d801afbcecc
/
.
/
JSTests
/
microbenchmarks
/
no-inline-constructor.js
blob: e852eb57edd9f521ec536282434efee5110656d9 [
file
] [
log
] [
blame
]
function
Foo
()
{
var
o
=
{
f
:{
f
:{
f
:{
f
:
42
}}}};
this
.
f
=
42
;
}
noInline
(
Foo
);
for
(
var
i
=
0
;
i
<
3000000
;
++
i
)
{
var
result
=
new
Foo
();
if
(
result
.
f
!=
42
)
throw
"Error: bad result: "
+
result
.
f
;
}