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