Sign in
webkit
/
WebKit
/
9883cbe1bf60a391ee4a71c6f30047b3cbc9bbbd
/
.
/
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
;
}