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

Unified Diff: src/map-updater.cc

Issue 2639583002: [runtime] Remove redundant StoreMode enum. (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 | src/objects.h » ('j') | 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 fe2e18ae3e7287080115d45d1b303a0d96852a68..a9b9a60f6d06522fe5e22806a526ece70178f90e 100644
--- a/src/map-updater.cc
+++ b/src/map-updater.cc
@@ -150,11 +150,9 @@ Handle<Map> MapUpdater::Update() {
}
MapUpdater::State MapUpdater::CopyGeneralizeAllFields(const char* reason) {
- StoreMode store_mode =
- modified_descriptor_ >= 0 ? FORCE_FIELD : ALLOW_IN_DESCRIPTOR;
- result_map_ = Map::CopyGeneralizeAllFields(
- old_map_, new_elements_kind_, modified_descriptor_, store_mode, new_kind_,
- new_attributes_, reason);
+ result_map_ = Map::CopyGeneralizeAllFields(old_map_, new_elements_kind_,
+ modified_descriptor_, new_kind_,
+ new_attributes_, reason);
state_ = kEnd;
return state_; // Done.
}
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698