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