Sign in
webkit
/
WebKit
/
c6951ff6f7d972427c05df8e7c39e3f2d74bf29c
/
.
/
JSTests
/
stress
/
dfg-rare-data.js
blob: 45a3f0e1542e9ad48007a7052a6358f8f849b494 [
file
] [
log
] [
blame
]
function
F
()
{
this
.
inner
=
42
;
};
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
x
=
new
F
(
false
);
F
.
prototype
=
Object
;
// Force clearing of the function's rare data
var
result
=
x
.
inner
;
if
(
result
!==
42
)
throw
"Expected 42, got: "
+
result
;
}