Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem.