Only flush code when there are no heap allocated locals in the scopeinfo.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Jun 2010 07:16:09 +0000 (07:16 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Jun 2010 07:16:09 +0000 (07:16 +0000)
commita330683b0098b8a5d00fc554f883edce49662f95
treee4c5cbd35fa649ec40d25e5b4b3e3bd606679ae3
parent41d9d375e365034aafcac1f01dc20ef35ff978f7
Only flush code when there are no heap allocated locals in the scopeinfo.

When flushing code we can potentially flush code with a scopeinfo that
we later need to resolve variables. This makes an explicit check that
there are heap allocated locals in the scopeinfo.

Review URL: http://codereview.chromium.org/2836021

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4921 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/scopeinfo.cc
src/scopeinfo.h