MIPS: Fix flaky mjsunit/harmony/generators-iteration test failure.
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 30 Jul 2013 22:28:54 +0000 (22:28 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 30 Jul 2013 22:28:54 +0000 (22:28 +0000)
commitbfc98bc0c8ded0dab06765bcd5d352ef834b984b
treef86ec73325d8db956e301470fda7129361ec6ac9
parent64bfd42a4c356881d9d315b6d85308f39221ed8c
MIPS: Fix flaky mjsunit/harmony/generators-iteration test failure.

This fixes the result allocation in EmitCreateIteratorResult,
when a GC is required. The Runtime call returns the allocated
pointer in v0 register, but the rest of the function was
expected it in a0 register. Refactored the function to use v0 for
the result in the whole function.

BUG=

Review URL: https://codereview.chromium.org/21244003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15965 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/full-codegen-mips.cc