Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/snapshot/serializer.h')
-rw-r--r--deps/v8/src/snapshot/serializer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/src/snapshot/serializer.h b/deps/v8/src/snapshot/serializer.h
index 658d37f286c..9427cb6c78c 100644
--- a/deps/v8/src/snapshot/serializer.h
+++ b/deps/v8/src/snapshot/serializer.h
@@ -170,6 +170,7 @@ class Serializer : public SerializerDeserializer {
void VisitRootPointers(Root root, const char* description, Object** start,
Object** end) override;
+ void SerializeRootObject(Object* object);
void PutRoot(int index, HeapObject* object, HowToCode how, WhereToPoint where,
int skip);
@@ -253,10 +254,8 @@ class Serializer : public SerializerDeserializer {
#ifdef OBJECT_PRINT
static const int kInstanceTypes = LAST_TYPE + 1;
- int* instance_type_count_;
- size_t* instance_type_size_;
- int* read_only_instance_type_count_;
- size_t* read_only_instance_type_size_;
+ int* instance_type_count_[LAST_SPACE];
+ size_t* instance_type_size_[LAST_SPACE];
#endif // OBJECT_PRINT
#ifdef DEBUG