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

Unified Diff: src/bootstrapper.cc

Issue 1293113002: Remove property loads from js builtins objects from runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix stack overflow during bootstrapping Created 5 years, 4 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 | « src/api.cc ('k') | src/contexts.h » ('j') | no next file with comments »
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 62d417e17aa37b888c3cc6d584b3ec9923f52293..5f4e0995f843a69dc8915b9be04cabdddc415d5e 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1754,6 +1754,16 @@ void Bootstrapper::ImportNatives(Isolate* isolate, Handle<JSObject> container) {
INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun);
INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
to_complete_property_descriptor);
+ INSTALL_NATIVE(JSFunction, "ObjectDefineOwnProperty",
+ object_define_own_property);
+ INSTALL_NATIVE(JSFunction, "ObjectGetOwnPropertyDescriptor",
+ object_get_own_property_descriptor);
+ INSTALL_NATIVE(JSFunction, "MessageGetLineNumber", message_get_line_number);
+ INSTALL_NATIVE(JSFunction, "MessageGetColumnNumber",
+ message_get_column_number);
+ INSTALL_NATIVE(JSFunction, "MessageGetSourceLine", message_get_source_line);
+ INSTALL_NATIVE(JSObject, "StackOverflowBoilerplate",
+ stack_overflow_boilerplate);
INSTALL_NATIVE(JSFunction, "JsonSerializeAdapter", json_serialize_adapter);
INSTALL_NATIVE(JSFunction, "Error", error_function);
« no previous file with comments | « src/api.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698