| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index d5168cd3853e2e6129103471f72231512292c1d0..0535c1321dc196bb9b28eee211a4085f36356eaa 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -12,6 +12,7 @@
|
| #include "include/v8-debug.h"
|
| #include "include/v8-profiler.h"
|
| #include "include/v8-testing.h"
|
| +#include "src/api-natives.h"
|
| #include "src/assert-scope.h"
|
| #include "src/background-parsing-task.h"
|
| #include "src/base/functional.h"
|
| @@ -5218,7 +5219,8 @@ Local<v8::Object> ObjectTemplate::NewInstance() {
|
| ENTER_V8(isolate);
|
| EXCEPTION_PREAMBLE(isolate);
|
| i::Handle<i::Object> obj;
|
| - has_pending_exception = !i::Execution::InstantiateObject(info).ToHandle(&obj);
|
| + has_pending_exception =
|
| + !i::ApiNatives::InstantiateObject(info).ToHandle(&obj);
|
| EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
|
| return Utils::ToLocal(i::Handle<i::JSObject>::cast(obj));
|
| }
|
| @@ -5234,7 +5236,7 @@ Local<v8::Function> FunctionTemplate::GetFunction() {
|
| EXCEPTION_PREAMBLE(isolate);
|
| i::Handle<i::Object> obj;
|
| has_pending_exception =
|
| - !i::Execution::InstantiateFunction(info).ToHandle(&obj);
|
| + !i::ApiNatives::InstantiateFunction(info).ToHandle(&obj);
|
| EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Function>());
|
| return Utils::ToLocal(i::Handle<i::JSFunction>::cast(obj));
|
| }
|
|
|