blob: 69cbb67213bd12ee79a45f2129da0aadfb1494df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// |jit-test| error: ReferenceError
setJitCompilerOption("ion.warmup.trigger", 50);
setJitCompilerOption("offthread-compilation.enable", 0);
gcPreserveCode();
new Function(`
while (true) {
try {
var buf = new Uint8ClampedArray(-1);
} catch (e) {
break;
}
}
var caughtInvalidArguments = false;
while (true) {
var a = inIon() ? -true.get : 0;
while (x > 7 & 0) {}
}
`)();
|