EmitCreateIteratorResult loads map from function's context
authorwingo@igalia.com <wingo@igalia.com>
Wed, 29 Oct 2014 16:10:59 +0000 (16:10 +0000)
committerwingo@igalia.com <wingo@igalia.com>
Wed, 29 Oct 2014 16:11:13 +0000 (16:11 +0000)
commitd3d29c640cf14f0eac2057b4fbffa5fbc0a29231
tree4e799997733f89d8005802962ba13aeb65c78a4c
parent2a57f036b2bdb0668090c09b9a10238ac843c61f
EmitCreateIteratorResult loads map from function's context

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.

R=verwaest@chromium.org
BUG=v8:3656
LOG=N

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

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