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

Unified Diff: src/bootstrapper.cc

Issue 2191293002: Move FormatStackTrace to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add formatting_stack_trace to ISOLATE_INIT_LIST Created 4 years, 5 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/builtins/builtins-callsite.cc » ('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 bbc13a868859fb12c06d88f779974403d8f00d70..7ee9d87252017760f102d2119d5c23ba0e0d60af 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2650,6 +2650,8 @@ void Bootstrapper::ExportFromRuntime(Isolate* isolate,
callsite_fun->shared()->DontAdaptArguments();
callsite_fun->shared()->set_native(true);
+ isolate->native_context()->set_callsite_function(*callsite_fun);
+
{
Handle<JSObject> proto =
factory->NewJSObject(isolate->object_function(), TENURED);
« no previous file with comments | « no previous file | src/builtins/builtins-callsite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698