Hydrogen object literals: always initialize in-object properties
authorjkummerow <jkummerow@chromium.org>
Wed, 17 Jun 2015 11:24:15 +0000 (04:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Jun 2015 11:24:24 +0000 (11:24 +0000)
commit5fca3947cf52f5ff2c5d094281a38347eb9df68f
treed199157dd88827a2936673a03c160acfd817cbc7
parent14151c81a26502fb50ba096fb7cdac9c0d7a201b
Hydrogen object literals: always initialize in-object properties

This fixes a bug where new-space GC could be triggered by non-folded allocations for some of the in-object properties, while the object was only partially initialized.

BUG=chromium:500497
LOG=y
R=ishell@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29079}
src/hydrogen.cc
src/hydrogen.h
src/runtime/runtime-test.cc
test/mjsunit/regress/regress-crbug-500497.js [new file with mode: 0644]