Switch code flushing to use different JSFunction field.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 15 Oct 2012 14:43:57 +0000 (14:43 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 15 Oct 2012 14:43:57 +0000 (14:43 +0000)
commitd9e3d35c07156612b63ffc89b052195e0b0c3e18
tree1b59f81ba872d67903792a6854a4ea0d951e31eb
parent57116621eb561933da7435128a432d508bfa55ff
Switch code flushing to use different JSFunction field.

This is another preparation for incremental code flushing. Instead of
linking candidates using the code entry field, we use the next pointer
that is also used to link optimized functions together. Since we only
support flushing of unoptimized code, this field can be shared.

R=ulan@chromium.org
BUG=v8:1609

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12734 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mark-compact.cc
src/mark-compact.h
src/runtime.cc