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); |