[heap] Unify the immortal immovable root detection mechanism.
authorbmeurer <bmeurer@chromium.org>
Thu, 11 Jun 2015 10:12:33 +0000 (03:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 10:12:39 +0000 (10:12 +0000)
commit84e83da99a72edc169367bf88588b1a2f10c2e08
tree0133229d9c9cf11866b6c63a1905ed4c013370f0
parent6a63a6d4cf652667963c5fdf35e10eee399fcd61
[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

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

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