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