// Ordinary warmup: V8 chooses its tiers and schedules optimization itself. function jitWork(object) { let sum = object.value; for (let i = 0; i < 1000; i++) sum = (sum + i) | 0; return sum; } const same = {value: 7}; let total = 0; for (let i = 0; i < 200000; i++) total = (total + jitWork(same)) | 0; print('warm', total, jitWork(same)); // A second shape invalidates the optimized property access's map guard. print('mismatch', jitWork({extra: 1, value: 9})); print('fallback', jitWork(same));