Relanding after backout Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl