Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
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
);