Prevent flushing of code that was set with %SetCode.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 May 2013 10:59:00 +0000 (10:59 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 May 2013 10:59:00 +0000 (10:59 +0000)
commit883d9c4b1cc85eaa19ad46d9b7f285c48dd37d28
tree631b11bd9bd1a6f1694664eee73d4f2529a809c0
parent05e8e0e7b407736f72ad500528cfd19c01ff8b07
Prevent flushing of code that was set with %SetCode.

This makes sure that shared function infos that break the one-to-one
mapping to code are marked as un-flushable. Otherwise enqueuing through
the GC meta-data field in the code object doesn't work.

R=rossberg@chromium.org
TEST=cctest/test-api/Threading4

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/objects-inl.h
src/objects-visiting-inl.h
src/objects.h
src/runtime.cc
src/v8natives.js