X87: EmitCreateIteratorResult loads map from function's context
authorweiliang.lin@intel.com <weiliang.lin@intel.com>
Thu, 30 Oct 2014 03:46:02 +0000 (03:46 +0000)
committerweiliang.lin@intel.com <weiliang.lin@intel.com>
Thu, 30 Oct 2014 03:46:19 +0000 (03:46 +0000)
commit120d9d521af8d47fa0960907c0b5bac1dbbd6e11
tree7efc4cf5ae61d24e1f7ec5241db4431bf03ce5a7
parentb4981c69f149cf970dff67e91c29aac6985fab14
X87: EmitCreateIteratorResult loads map from function's context

port r24987

original commit message:

  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.

BUG=
R=weiliang.lin@intel.com

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

Patch from Chunyang Dai <chunyang.dai@intel.com>.

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