Sign in
webkit
/
WebKit
/
0b12fa5591e07a09b635ce1b9a87f0e7c691d55a
/
.
/
JSTests
/
stress
/
force-string-arrayMode-on-originalNonArray-array-class.js
blob: 77df900845e5222091f0eb167cccf48612c89218 [
file
] [
log
] [
blame
]
//@ requireOptions("--jitPolicyScale=0.1")
function
foo
(
a
)
{
a
.
length
;
}
for
(
let i
=
0
;
i
<
100
;
i
++)
{
let a
=
i
%
2
?
new
Uint8Array
()
:
new
Uint16Array
();
for
(
let j
=
0
;
j
<
2
;
j
++)
foo
(
a
);
gc
();
foo
(
''
);
foo
(
a
);
}