[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: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57073}
This commit is contained in:
Clemens Hammacher 2018-10-27 17:44:52 +02:00 committed by Commit Bot
parent d99a1b950e
commit be65511d85
2 changed files with 3 additions and 3 deletions

View File

@ -18,11 +18,12 @@ class JSOperatorBuilder;
// Pair of a context and its distance from some point of reference.
struct OuterContext {
OuterContext() : context(), distance() {}
OuterContext() = default;
OuterContext(Handle<Context> context_, size_t distance_)
: context(context_), distance(distance_) {}
Handle<Context> context;
size_t distance;
size_t distance = 0;
};
// Specializes a given JSGraph to a given context, potentially constant folding

View File

@ -29,7 +29,6 @@ AUTO_EXCLUDE = [
# flag-definitions.h needs a mode set for being included.
'src/flag-definitions.h',
# blacklist of headers we need to fix (https://crbug.com/v8/7965).
'src/compiler/js-context-specialization.h',
'src/regexp/jsregexp.h',
'src/snapshot/object-deserializer.h',
'src/transitions.h',