Commit 3b6efcdc authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Make it explicit that module namespace map has proto info.

R=jarin@chromium.org

Change-Id: I08ecc5c86aa098a566c57e8ac8575504c9c36361
Reviewed-on: https://chromium-review.googlesource.com/c/1397667Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58581}
parent 4737de1f
......@@ -437,8 +437,8 @@ bool AccessInfoFactory::ComputePropertyAccessInfo(
DCHECK_EQ(kAccessor, details.kind());
if (map->instance_type() == JS_MODULE_NAMESPACE_TYPE) {
DCHECK(map->is_prototype_map());
Handle<PrototypeInfo> proto_info =
Map::GetOrCreatePrototypeInfo(map, isolate());
Handle<PrototypeInfo> proto_info(
PrototypeInfo::cast(map->prototype_info()), isolate());
Handle<JSModuleNamespace> module_namespace(
JSModuleNamespace::cast(proto_info->module_namespace()),
isolate());
......
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