[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}
This commit is contained in:
ishell 2017-01-20 05:17:04 -08:00 committed by Commit bot
parent f40710bce3
commit d02ca3625f

View File

@ -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);