Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/objects.cc b/src/objects.cc
- index f001d3c..36101a5 100644
- --- a/src/objects.cc
- +++ b/src/objects.cc
- @@ -1637,6 +1637,14 @@ MaybeObject* JSObject::AddFastProperty(String* name,
- MaybeObject* maybe_new_map = map()->CopyAddDescriptor(&new_field, flag);
- if (!maybe_new_map->To(&new_map)) return maybe_new_map;
- + if (FLAG_print_code) {
- + SmartArrayPointer<char> c_string = name->ToCString();
- + PrintF("Map Transition: %p + %s -> %p\n",
- + static_cast<void*>(map()),
- + *c_string,
- + static_cast<void*>(new_map));
- + }
- +
- if (map()->unused_property_fields() == 0) {
- ASSERT(values != NULL);
- set_properties(values);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement