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