blob: 866733ef9f345aa9138124e33d6ff3856bcd5309 [file] [log] [blame]
//@ skip if $architecture != "arm64" and $architecture != "x86-64"
//@ runDefault("--returnEarlyFromInfiniteLoopsForFuzzing=1", "--earlyReturnFromInfiniteLoopsLimit=1000", "--jitPolicyScale=0", "--maximumFunctionForCallInlineCandidateBytecodeCost=1000", "--useConcurrentJIT=0", "--useFTLJIT=0")
const a = [null, 0, 0, 0, 0, 0, 0];
function foo() {
for (let i=0; i<10; i++) {}
}
for (let i=0; i<10000; i++) {
a.sort(foo);
}