Sign in
webkit
/
WebKit
/
5c46bef7ab98d4e8242fd1cdbd4a8339e4d4801f
/
.
/
JSTests
/
stress
/
simple-jump-table-copy.js
blob: b47c8f8f2cb3045260f842c9452cd026b2cc5cb4 [
file
] [
log
] [
blame
]
//@ runDefault("--jitPolicyScale=0", "--useCodeCache=0")
let code
=
`
function
*
g1
()
{}
function
*
g2
()
{}
g1
().
next
();
g2
().
next
();
`;
// Increasing to 1e5 improves reproducibility.
for
(
var
i
=
0
;
i
<
1e3
;
i
++)
runString
(
code
);