Refactor the handling of generations in the compilation cache.
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Jun 2009 11:12:51 +0000 (11:12 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Jun 2009 11:12:51 +0000 (11:12 +0000)
commit3ce873c351a54d2d699df9e2ed4692732184adca
tree51f7b118e75f8679366ef8dd7f68d8ced2b2cadf
parent59cd4dc5726c3960cbac93150a1439a3dfd0a7b3
Refactor the handling of generations in the compilation cache.

Add generations to the compilation cache for eval and regexp. The number of generations for these are set to two.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/140056

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2233 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compilation-cache.cc
src/compilation-cache.h
src/compiler.cc