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

Unified Diff: src/bootstrapper.cc

Issue 2191293002: Move FormatStackTrace to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation in release mode 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') | src/isolate.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 0ffb0c3c281c6482022520df4868b5e1e5b871da..d62e3073e0a6926be48d1013d98b0faad2c5ece8 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2649,6 +2649,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') | src/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698