Commit cbc77647 authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[iwyu] Fix object-deserializer.h

R=yangguo@chromium.org

Bug: v8:7965
Change-Id: I38d636b29bc6a8eebafc8299b24954bedb3cafec
Reviewed-on: https://chromium-review.googlesource.com/c/1303719
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57077}
parent b4f8409e
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
namespace v8 { namespace v8 {
namespace internal { namespace internal {
ObjectDeserializer::ObjectDeserializer(const SerializedCodeData* data)
: Deserializer(data, true) {}
MaybeHandle<SharedFunctionInfo> MaybeHandle<SharedFunctionInfo>
ObjectDeserializer::DeserializeSharedFunctionInfo( ObjectDeserializer::DeserializeSharedFunctionInfo(
Isolate* isolate, const SerializedCodeData* data, Handle<String> source) { Isolate* isolate, const SerializedCodeData* data, Handle<String> source) {
......
...@@ -20,8 +20,7 @@ class ObjectDeserializer final : public Deserializer<> { ...@@ -20,8 +20,7 @@ class ObjectDeserializer final : public Deserializer<> {
Isolate* isolate, const SerializedCodeData* data, Handle<String> source); Isolate* isolate, const SerializedCodeData* data, Handle<String> source);
private: private:
explicit ObjectDeserializer(const SerializedCodeData* data) explicit ObjectDeserializer(const SerializedCodeData* data);
: Deserializer(data, true) {}
// Deserialize an object graph. Fail gracefully. // Deserialize an object graph. Fail gracefully.
MaybeHandle<HeapObject> Deserialize(Isolate* isolate); MaybeHandle<HeapObject> Deserialize(Isolate* isolate);
......
...@@ -30,7 +30,6 @@ AUTO_EXCLUDE = [ ...@@ -30,7 +30,6 @@ AUTO_EXCLUDE = [
'src/flag-definitions.h', 'src/flag-definitions.h',
# blacklist of headers we need to fix (https://crbug.com/v8/7965). # blacklist of headers we need to fix (https://crbug.com/v8/7965).
'src/regexp/jsregexp.h', 'src/regexp/jsregexp.h',
'src/snapshot/object-deserializer.h',
'src/transitions.h', 'src/transitions.h',
] ]
AUTO_EXCLUDE_PATTERNS = [ AUTO_EXCLUDE_PATTERNS = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment