MIPS: EmitCreateIteratorResult loads map from function's context.
authorbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Wed, 29 Oct 2014 18:19:57 +0000 (18:19 +0000)
committerbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Wed, 29 Oct 2014 18:20:14 +0000 (18:20 +0000)
commitdde9dff2bb728279b258913e4d392227e3106840
treea61f453454234138befa71439d551823561d3491
parenta4d06bc399d92f25ba5a59dd2eb61d0b1dc26a94
MIPS: EmitCreateIteratorResult loads map from function's context.

Port r24987 (cfc4713)

Original commit message:
Caching or serialization can cause full-codegen output to be shared
between contexts.  CreateIteratorResult, however, was doing the wrong
thing by creating results with the map that was current when the code
was generated.  Instead, we should chase pointers to load the right map
from the function's context.

BUG=v8:3656
LOG=N
R=paul.lind@imgtec.com

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

Cr-Commit-Position: refs/heads/master@{#24993}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24993 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/full-codegen-mips.cc
src/mips64/full-codegen-mips64.cc