function asmModule() { 'use asm'; let a = [1, 2, 3, 4]; for (let i = 0; i < 0x100000; i++) { // JIT a[0] = 1; if (i === 0x30000) { a[0] = {}; // the array type changed, bailout!! } } function f(v) { v = v | 0; return v | 0; } return f; } asmModule(1);