Revert of Fix memory leak caused by field type in descriptor array. (patchset #3...
authormarja <marja@chromium.org>
Thu, 26 Feb 2015 14:46:01 +0000 (06:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 14:46:07 +0000 (14:46 +0000)
commitb57be748b175695be2507cedf3423b59b9d6cd20
treec7404adcee8f77c3f130df9089cc6fc44672858b
parent6517181c495505b187898da46e6312fa9604a896
Revert of Fix memory leak caused by field type in descriptor array. (patchset #3 id:40001 of https://codereview.chromium.org/955063002/)

Reason for revert:
Breaks test/mjsunit/debug-clearbreakpointgroup.js on arm64.debug.

Original issue's description:
> Fix memory leak caused by field type in descriptor array.
>
> When a field type is a map, it is wrapped in a weak cell upon storing to the descriptor array.
>
> Map::GetFieldType(i) does the unwrapping.
>
> BUG=v8:3877
> LOG=N
> TEST=cctest/test-heap/Regress3877
>
> Committed: https://crrev.com/77d3ae0e119893ac8d34ea6ca090cddd5bbf987e
> Cr-Commit-Position: refs/heads/master@{#26879}

TBR=verwaest@chromium.org,ulan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3877

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

Cr-Commit-Position: refs/heads/master@{#26883}
src/objects-inl.h
src/objects.cc
src/objects.h
src/property.h
test/cctest/test-heap.cc
test/cctest/test-migrations.cc