Index: src/compilation-cache.h |
=================================================================== |
--- src/compilation-cache.h (revision 1954) |
+++ src/compilation-cache.h (working copy) |
@@ -40,11 +40,11 @@ |
// scripts and evals. Internally, we use separate caches to avoid |
// getting the wrong kind of entry when looking up. |
enum Entry { |
- SCRIPT, |
EVAL_GLOBAL, |
EVAL_CONTEXTUAL, |
REGEXP, |
- LAST_ENTRY = REGEXP |
+ SCRIPT, |
+ LAST_ENTRY = SCRIPT |
}; |
// Finds the script function boilerplate for a source |
@@ -96,7 +96,7 @@ |
// avoid keeping them alive too long without using them. For now, we |
// just clear the cache but we should consider are more |
Mads Ager (chromium)
2009/05/15 06:43:29
Update the comment?
|
// sophisticated LRU scheme. |
- static void MarkCompactPrologue() { Clear(); } |
+ static void MarkCompactPrologue(); |
}; |