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

Unified Diff: src/factory.cc

Issue 1097113003: Fix unobservable constructor replacement on prototype maps (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: new approach: use prototype_info Created 5 years, 8 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/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index d2a8d79dcf9cb2ea84c72358dc645c8f1b1200e3..d6c583c7edc64ce8b6317a7304bea35e98723c0c 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -56,6 +56,7 @@ Handle<PrototypeInfo> Factory::NewPrototypeInfo() {
Handle<PrototypeInfo>::cast(NewStruct(PROTOTYPE_INFO_TYPE));
result->set_prototype_users(WeakFixedArray::Empty());
result->set_validity_cell(Smi::FromInt(0));
+ result->set_constructor_name(Smi::FromInt(0));
return result;
}
« 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