Commit d02ca362 authored by ishell's avatar ishell Committed by Commit bot

[runtime] Always request kMutable constness when reconfiguring to a field.

BUG=chromium:682706

Review-Url: https://codereview.chromium.org/2644853003
Cr-Commit-Position: refs/heads/master@{#42554}
parent f40710bc
......@@ -101,7 +101,7 @@ Handle<Map> MapUpdater::ReconfigureToDataField(int descriptor,
// If property kind is not reconfigured merge the result with
// representation/field type from the old descriptor.
if (old_details.kind() == new_kind_) {
new_constness_ = old_details.constness();
new_constness_ = kMutable;
Representation old_representation = old_details.representation();
new_representation_ = representation.generalize(old_representation);
......
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