Fix memory leak caused by treating Code::next_code_link as strong in marker.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 13 Mar 2014 14:09:18 +0000 (14:09 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 13 Mar 2014 14:09:18 +0000 (14:09 +0000)
commit2f2670088531a1d87542743947ed0dd06ba820c0
treec5f8a5aac6aa2852b4938d8a9e0a6486a5560d7f
parent0f71a24f3a433e2b8a425f5a1e62b4ed0a2eb74b
Fix memory leak caused by treating Code::next_code_link as strong in marker.

BUG=
TEST=test/cctest/NextCodeLinkIsWeak
R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19897 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/mark-compact.cc
src/objects-inl.h
src/objects-visiting-inl.h
src/objects-visiting.h
src/objects.h
test/cctest/test-heap.cc