Commit ed53f05c authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[runtime] Fix class literal instantiation.

Class' prototype temporarily got properies backing store inconsistent with
the map which obviously confused heap verifier.

Bug: v8:5799
Change-Id: Ie28b0418daa657763d07c8a928851111680718ed
Reviewed-on: https://chromium-review.googlesource.com/777560Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49460}
parent 027cecdb
......@@ -468,8 +468,6 @@ bool InitClassPrototype(Isolate* isolate,
map->set_migration_target(false);
map->set_may_have_interesting_symbols(true);
// map->set_construction_counter(Map::kNoSlackTracking);
prototype->set_raw_properties_or_hash(
*isolate->factory()->empty_property_dictionary());
// We care about name property only for class constructor.
const bool install_name_accessor = false;
......
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