[iwyu] Make "access-info.h" header stand-alone.

R=jarin@chromium.org

Change-Id: Idf47ac88099915bd6db3621230c4f93f2bd7d3bd
Reviewed-on: https://chromium-review.googlesource.com/665117
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48008}
This commit is contained in:
Michael Starzinger 2017-09-13 15:47:31 +02:00 committed by Commit Bot
parent d7894b2d6d
commit 725c15c794
3 changed files with 6 additions and 5 deletions

View File

@ -224,6 +224,11 @@ bool PropertyAccessInfo::Merge(PropertyAccessInfo const* that,
UNREACHABLE();
}
Handle<Cell> PropertyAccessInfo::export_cell() const {
DCHECK_EQ(kModuleExport, kind_);
return Handle<Cell>::cast(constant_);
}
AccessInfoFactory::AccessInfoFactory(CompilationDependencies* dependencies,
Handle<Context> native_context, Zone* zone)
: dependencies_(dependencies),

View File

@ -111,10 +111,7 @@ class PropertyAccessInfo final {
}
MaybeHandle<Map> field_map() const { return field_map_; }
MapHandles const& receiver_maps() const { return receiver_maps_; }
Handle<Cell> export_cell() const {
DCHECK_EQ(kModuleExport, kind_);
return Handle<Cell>::cast(constant_);
}
Handle<Cell> export_cell() const;
private:
PropertyAccessInfo(MaybeHandle<JSObject> holder,

View File

@ -11,7 +11,6 @@
#include "src/compiler/property-access-builder.h"
#include "src/compiler/simplified-operator.h"
#include "src/feedback-vector.h"
#include "src/handles-inl.h"
#include "src/type-hints.h"
namespace v8 {