Sign in
webkit
/
WebKit
/
3f78a298b8cb2d7ccc1b4dafb89a4d60eb2fbe8f
/
.
/
LayoutTests
/
js
/
dom
/
script-tests
/
dfg-put-to-readonly-property.js
blob: bb2c18cfc69b59cd056475207bea61b7e94e458d [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
NaN
=
0
return
NaN
|
0
;
}
function
bar
(
a
)
{
return
foo
(
a
)
|
eval
(
"NaN=0"
);
}
noInline
(
bar
);
var
sum
=
0
;
var
i
=
0
;
while
(
i
<
10000
)
{
sum
+=
bar
(
i
);
i
++;
}
sum
+=
bar
(
i
,
true
);