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

Unified Diff: src/heap/heap.cc

Issue 1494673004: For non-prototype objects constructed using base==new.target, use the cached constructor to render … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 65906b4d8dfbecb4f3aa3ada286596bad43d390d..dd8b18b84f1ea6a67e06a4c7d886230eae0c1451 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -2083,6 +2083,7 @@ AllocationResult Heap::AllocateMap(InstanceType instance_type,
Map::Counter::encode(Map::kRetainingCounterStart);
map->set_bit_field3(bit_field3);
map->set_elements_kind(elements_kind);
+ map->set_new_target_is_base(true);
return map;
}
« 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