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/roots-serializer.cc')
-rw-r--r--deps/v8/src/snapshot/roots-serializer.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/snapshot/roots-serializer.cc b/deps/v8/src/snapshot/roots-serializer.cc
index f354dec1589..6a8f2bb05e5 100644
--- a/deps/v8/src/snapshot/roots-serializer.cc
+++ b/deps/v8/src/snapshot/roots-serializer.cc
@@ -13,8 +13,9 @@ namespace v8 {
namespace internal {
RootsSerializer::RootsSerializer(Isolate* isolate,
+ Snapshot::SerializerFlags flags,
RootIndex first_root_to_be_serialized)
- : Serializer(isolate),
+ : Serializer(isolate, flags),
first_root_to_be_serialized_(first_root_to_be_serialized),
can_be_rehashed_(true) {
for (size_t i = 0; i < static_cast<size_t>(first_root_to_be_serialized);
@@ -47,7 +48,7 @@ void RootsSerializer::VisitRootPointers(Root root, const char* description,
// - Only root list elements that have been fully serialized can be
// referenced using kRootArray bytecodes.
for (FullObjectSlot current = start; current < end; ++current) {
- SerializeRootObject(*current);
+ SerializeRootObject(current);
size_t root_index = current - roots_table.begin();
root_has_been_serialized_.set(root_index);
}