diff --git a/src/snapshot/object-deserializer.cc b/src/snapshot/object-deserializer.cc index eac67d5c23..bfffc4067a 100644 --- a/src/snapshot/object-deserializer.cc +++ b/src/snapshot/object-deserializer.cc @@ -14,6 +14,9 @@ namespace v8 { namespace internal { +ObjectDeserializer::ObjectDeserializer(const SerializedCodeData* data) + : Deserializer(data, true) {} + MaybeHandle ObjectDeserializer::DeserializeSharedFunctionInfo( Isolate* isolate, const SerializedCodeData* data, Handle source) { diff --git a/src/snapshot/object-deserializer.h b/src/snapshot/object-deserializer.h index 1e8bf1b649..039f1f341a 100644 --- a/src/snapshot/object-deserializer.h +++ b/src/snapshot/object-deserializer.h @@ -20,8 +20,7 @@ class ObjectDeserializer final : public Deserializer<> { Isolate* isolate, const SerializedCodeData* data, Handle source); private: - explicit ObjectDeserializer(const SerializedCodeData* data) - : Deserializer(data, true) {} + explicit ObjectDeserializer(const SerializedCodeData* data); // Deserialize an object graph. Fail gracefully. MaybeHandle Deserialize(Isolate* isolate); diff --git a/tools/generate-header-include-checks.py b/tools/generate-header-include-checks.py index b89484cdf0..7316d9bbcc 100755 --- a/tools/generate-header-include-checks.py +++ b/tools/generate-header-include-checks.py @@ -30,7 +30,6 @@ AUTO_EXCLUDE = [ 'src/flag-definitions.h', # blacklist of headers we need to fix (https://crbug.com/v8/7965). 'src/regexp/jsregexp.h', - 'src/snapshot/object-deserializer.h', 'src/transitions.h', ] AUTO_EXCLUDE_PATTERNS = [