Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: src/map-updater.cc

Issue 2644853003: [runtime] Always request kMutable constness when reconfiguring to a field. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/map-updater.cc
diff --git a/src/map-updater.cc b/src/map-updater.cc
index e6dec658fd56ef531f7014a15cda175d42b0bff8..2f0d61a17c60dbf2efbb61efff23e0afc94d35ee 100644
--- a/src/map-updater.cc
+++ b/src/map-updater.cc
@@ -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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698