Fix CodeFlusher::ProcessOptimizedCodeMaps stale fields.
authormstarzinger <mstarzinger@chromium.org>
Wed, 1 Jul 2015 13:43:36 +0000 (06:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 13:43:50 +0000 (13:43 +0000)
commitcd4275aaf1371c2125653ebe80a65d6fef022bd9
tree5c5960501d3997d60882a4cd79b57a27588605ae
parent549749d374f0c6ba1a4f3251e0b71aa6fd4bf68b
Fix CodeFlusher::ProcessOptimizedCodeMaps stale fields.

This makes sure that all pointer fields in an entry in the optimized
code map are considered weak, not just the code object. If just one
field of an entry dies, then the whole entry dies.

R=hpayer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29417}
src/heap/mark-compact.cc