[turbofan] Fix known issue about computed property names.
authormstarzinger <mstarzinger@chromium.org>
Tue, 26 May 2015 08:45:10 +0000 (01:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 May 2015 08:45:16 +0000 (08:45 +0000)
commitce551f91fd18069bc6786c6c71d111fb1ebca683
treea57273caafacc26fd9ad96fa3c573af128c463e2
parent14eba9b27531911f8466a5877fc66b64bc98bdb6
[turbofan] Fix known issue about computed property names.

This fixes a corner-case where deoptimization while evaluating the
value to a __proto__ property after computed property names appeared
in an object literal, lead to environments not being in sync with
unoptimized code.

R=arv@chromium.org
TEST=mjsunit/harmony/computed-property-names-deopt

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

Cr-Commit-Position: refs/heads/master@{#28613}
src/compiler/ast-graph-builder.cc
test/mjsunit/harmony/computed-property-names-deopt.js [new file with mode: 0644]