Bug 909972 - Avoid unnecessary GCs in asm.js compilation; r=luke

--HG--
extra : rebase_source : 41a55a9f837016efbcf013f9b51e9f5f5c48f28b