Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index fdd183288897f4721d8aa96b5435db48b2a73b95..01a064d21d3fa5b8a5634f064082ba6f8aba391c 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -361,10 +361,6 @@ class ThreadLocalTop BASE_EMBEDDED { |
typedef List<HeapObject*> DebugObjectCache; |
#define ISOLATE_INIT_LIST(V) \ |
- /* SerializerDeserializer state. */ \ |
- V(int, serialize_partial_snapshot_cache_length, 0) \ |
- V(int, serialize_partial_snapshot_cache_capacity, 0) \ |
- V(Object**, serialize_partial_snapshot_cache, NULL) \ |
/* Assembler state. */ \ |
V(FatalErrorCallback, exception_behavior, NULL) \ |
V(LogEventCallback, event_logger, NULL) \ |
@@ -649,9 +645,6 @@ class Isolate { |
return exception != heap()->termination_exception(); |
} |
- // Serializer. |
- void PushToPartialSnapshotCache(Object* obj); |
- |
// JS execution stack (see frames.h). |
static Address c_entry_fp(ThreadLocalTop* thread) { |
return thread->c_entry_fp_; |
@@ -1139,6 +1132,8 @@ class Isolate { |
void AddDetachedContext(Handle<Context> context); |
void CheckDetachedContextsAfterGC(); |
+ List<Object*>* partial_snapshot_cache() { return &partial_snapshot_cache_; } |
+ |
private: |
explicit Isolate(bool enable_serializer); |
@@ -1360,6 +1355,7 @@ class Isolate { |
v8::Isolate::UseCounterCallback use_counter_callback_; |
BasicBlockProfiler* basic_block_profiler_; |
+ List<Object*> partial_snapshot_cache_; |
friend class ExecutionAccess; |
friend class HandleScopeImplementer; |