[turbofan] Fix frame state for class literal definition.
authormstarzinger <mstarzinger@chromium.org>
Fri, 24 Apr 2015 11:13:13 +0000 (04:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Apr 2015 11:12:57 +0000 (11:12 +0000)
commit6b60f191687d645f44c9050d29bd6573c3c9ef8c
tree7c3800e7d205caad0722415063117ad35c832561
parent63f7fbfea64fc6102a8fad7e570d95976e297d9a
[turbofan] Fix frame state for class literal definition.

This introduces a bailout point for class literals right after the
%DefineClass function has been called. Otherwise the FrameState after
class literal evaluation might contain the literal itself.

R=jarin@chromium.org
TEST=mjsunit/regress/regress-crbug-480819
BUG=chromium:480819
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28043}
src/ast.h
src/compiler/ast-graph-builder.cc
src/full-codegen.cc
test/mjsunit/regress/regress-crbug-480819.js [new file with mode: 0644]