blob: 3a11826e4a1edb4749fe8e78d3a37ae2411a2aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// |jit-test| error: ReferenceError; --ion-warmup-threshold=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) {}
}
`)();
|