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

Unified Diff: src/map-updater.cc

Issue 2627003005: [printing] Remove duplicate code that prints property details. (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') | src/property.cc » ('J')
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 94c5db53b3b80c47dc7a1450cb03bf76dcabd2fd..49a12cddc5133597858dfeba94cad90def38caa7 100644
--- a/src/map-updater.cc
+++ b/src/map-updater.cc
@@ -434,7 +434,7 @@ Handle<DescriptorArray> MapUpdater::BuildDescriptorArray() {
old_details.representation(), old_field_type, next_representation,
target_field_type, isolate_);
- Handle<Object> wrapped_type(Map::WrapType(next_field_type));
+ Handle<Object> wrapped_type(Map::WrapFieldType(next_field_type));
Descriptor d;
if (next_kind == kData) {
d = Descriptor::DataField(key, current_offset, wrapped_type,
@@ -476,7 +476,7 @@ Handle<DescriptorArray> MapUpdater::BuildDescriptorArray() {
Handle<FieldType> old_field_type =
GetOrComputeFieldType(i, old_details.location(), next_representation);
- Handle<Object> wrapped_type(Map::WrapType(old_field_type));
+ Handle<Object> wrapped_type(Map::WrapFieldType(old_field_type));
Descriptor d;
if (next_kind == kData) {
d = Descriptor::DataField(key, current_offset, wrapped_type,
« no previous file with comments | « no previous file | src/objects.h » ('j') | src/property.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698