Differentate between code target pointers and heap pointers in constant pools.
authorrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 19:05:43 +0000 (19:05 +0000)
committerrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 19:05:43 +0000 (19:05 +0000)
commita199ba80effe285b4da6d2ea3f365417dead1658
tree83d5ca020fbf6d94440610a533d0f615039513a0
parent9cfd807cbaa1c9a3f0a2cdb561c6795346b34341
Differentate between code target pointers and heap pointers in constant pools.

Separate out code target pointers from normal heap pointer entries in constant
pool arrays so that the GC can correctly relocate these pointers using the
appropriate mechanism.

R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19773 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/factory.cc
src/factory.h
src/heap.cc
src/heap.h
src/mark-compact.cc
src/mark-compact.h
src/objects-debug.cc
src/objects-inl.h
src/objects-printer.cc
src/objects-visiting-inl.h
src/objects.cc
src/objects.h
test/cctest/test-constantpool.cc