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