Map::TryUpdate() must be in sync with Map::Update().
authorishell <ishell@chromium.org>
Fri, 12 Jun 2015 12:36:36 +0000 (05:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Jun 2015 12:36:40 +0000 (12:36 +0000)
commit4cc4bc591cc8ffe7d458f4e89e1fbe3944d44c9f
treed2d1499c9cfdacb7396746da022708f0ec4f6e37
parent103fcfaa40c23f7c732601d2f4f8be251415a45c
Map::TryUpdate() must be in sync with Map::Update().

This CL fixes elements kind transitions handling in Map::TryUpdate().

BUG=v8:4121
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#28999}
src/objects.cc
test/cctest/test-migrations.cc
test/mjsunit/regress/regress-4121.js [new file with mode: 0644]