Revert of [heap] Unify the immortal immovable root detection mechanism. (patchset...
authormachenbach <machenbach@chromium.org>
Thu, 11 Jun 2015 10:49:35 +0000 (03:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 10:49:43 +0000 (10:49 +0000)
commitaf83ab69b9568c005b5feca8b272a082b7da7f1d
tree07ec1fdb28a692289ea5a38ba8ed782934c2b914
parent84e83da99a72edc169367bf88588b1a2f10c2e08
Revert of [heap] Unify the immortal immovable root detection mechanism. (patchset #3 id:40001 of https://codereview.chromium.org/1178853002/)

Reason for revert:
[Sheriff] tsan failures:
http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/4240

Original issue's description:
> [heap] Unify the immortal immovable root detection mechanism.
>
> Uniformly use the Heap::GetRootListIndex() and
> Heap::RootIsImmortalImmovable() methods to detect immortal immovable
> roots in the optimizing compilers.
>
> R=jarin@chromium.org
>
> Committed: https://crrev.com/84e83da99a72edc169367bf88588b1a2f10c2e08
> Cr-Commit-Position: refs/heads/master@{#28933}

TBR=jarin@chromium.org,bmeurer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#28934}
src/compiler/code-generator.cc
src/heap/heap.cc
src/heap/heap.h
src/hydrogen-instructions.cc
src/snapshot/serialize.cc
src/unique.h