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