Index: src/heap.h |
=================================================================== |
--- src/heap.h (revision 1472) |
+++ src/heap.h (working copy) |
@@ -123,7 +123,8 @@ |
V(FixedArray, number_string_cache) \ |
V(FixedArray, single_character_string_cache) \ |
V(FixedArray, natives_source_cache) \ |
- V(Object, keyed_lookup_cache) |
+ V(Object, keyed_lookup_cache) \ |
+ V(Object, last_script_id) |
#define ROOT_LIST(V) \ |
@@ -690,6 +691,9 @@ |
static inline void SetKeyedLookupCache(LookupCache* cache); |
static inline void ClearKeyedLookupCache(); |
+ // Update the next script id. |
+ static inline void SetLastScriptId(Object* last_script_id); |
+ |
#ifdef DEBUG |
static void Print(); |
static void PrintHandles(); |