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

[iwyu] Fix js-context-specialization.h

R=mstarzinger@chromium.org

Bug: v8:7965
Change-Id: I26c85e7791550cff269ffc998077501a1eaef3a5
Reviewed-on: https://chromium-review.googlesource.com/c/1303718
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57073}
parent d99a1b95
...@@ -18,11 +18,12 @@ class JSOperatorBuilder; ...@@ -18,11 +18,12 @@ class JSOperatorBuilder;
// Pair of a context and its distance from some point of reference. // Pair of a context and its distance from some point of reference.
struct OuterContext { struct OuterContext {
OuterContext() : context(), distance() {} OuterContext() = default;
OuterContext(Handle<Context> context_, size_t distance_) OuterContext(Handle<Context> context_, size_t distance_)
: context(context_), distance(distance_) {} : context(context_), distance(distance_) {}
Handle<Context> context; Handle<Context> context;
size_t distance; size_t distance = 0;
}; };
// Specializes a given JSGraph to a given context, potentially constant folding // Specializes a given JSGraph to a given context, potentially constant folding
......
...@@ -29,7 +29,6 @@ AUTO_EXCLUDE = [ ...@@ -29,7 +29,6 @@ AUTO_EXCLUDE = [
# flag-definitions.h needs a mode set for being included. # flag-definitions.h needs a mode set for being included.
'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/compiler/js-context-specialization.h',
'src/regexp/jsregexp.h', 'src/regexp/jsregexp.h',
'src/snapshot/object-deserializer.h', 'src/snapshot/object-deserializer.h',
'src/transitions.h', 'src/transitions.h',
......
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