[turbofan] Fix ForInStatement that deopts during filter.
authormstarzinger <mstarzinger@chromium.org>
Wed, 15 Apr 2015 13:12:13 +0000 (06:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 13:12:05 +0000 (13:12 +0000)
commitb807d112d785f65807494761c9d0b2fae5d6a7af
tree505c55e4685020bee41efa6bc58af1493ef538d4
parent0179ec57975c5063bbecd98e11cdda77ddad8996
[turbofan] Fix ForInStatement that deopts during filter.

This adds a missing bailout id to a ForInStatement for when retrieving
and filtering a property name deoptimizes. This can happen with proxies
that have a getPropertyDescriptor trap.

R=jarin@chromium.org
TEST=mjsunit/for-in-opt

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

Cr-Commit-Position: refs/heads/master@{#27846}
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/ast.h
src/compiler/ast-graph-builder.cc
src/ia32/full-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/mips64/full-codegen-mips64.cc
src/ppc/full-codegen-ppc.cc
src/x64/full-codegen-x64.cc
src/x87/full-codegen-x87.cc
test/mjsunit/mjsunit.status