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

Unified Diff: src/bootstrapper.cc

Issue 1033653002: Move prototype metadata from internal properties to prototype maps (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « include/v8.h ('k') | src/factory.h » ('j') | src/heap/objects-visiting-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index d9a5af3a016d7b0053e3898005d68d60baaa0c65..963336a79ca68a9036e3c11b9b0d3e5eff39b0b1 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -833,6 +833,7 @@ Handle<GlobalObject> Genesis::CreateNewGlobals(
ApiNatives::GlobalObjectType);
}
+ js_global_object_function->initial_map()->set_is_prototype_map(true);
Jakob Kummerow 2015/03/24 10:40:13 This makes it possible to DCHECK that we only ever
js_global_object_function->initial_map()->set_is_hidden_prototype();
js_global_object_function->initial_map()->set_dictionary_map(true);
Handle<GlobalObject> global_object =
« no previous file with comments | « include/v8.h ('k') | src/factory.h » ('j') | src/heap/objects-visiting-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698