Bug 822695 - Use nsCOMArray. r=ehsan.

--HG--
extra : rebase_source : 28bf148e97f183f54592c5b4240582e8c27df8f4
Bug 827421: IonMonkey: visitCompareD on arm should report success after codegen, r=mjrosenb