Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 973cee7

Browse files
committed
deps: updating chakrashim with new experimental v8 api stub to fix build
1 parent f7e8fc6 commit 973cee7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Diff for: deps/chakrashim/include/v8.h

+7
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ typedef MaybeLocal<Promise>(*HostImportModuleDynamicallyCallback)(
273273
Local<Context> context, Local<ScriptOrModule> referrer,
274274
Local<String> specifier);
275275

276+
typedef void (*HostInitializeImportMetaObjectCallback)(
277+
Local<Context> context,
278+
Local<Module> module,
279+
Local<Object> meta);
280+
276281
template <class T>
277282
class Local {
278283
public:
@@ -2706,6 +2711,8 @@ class V8_EXPORT Isolate {
27062711

27072712
void SetHostImportModuleDynamicallyCallback(
27082713
HostImportModuleDynamicallyCallback callback);
2714+
void SetHostInitializeImportMetaObjectCallback(
2715+
HostInitializeImportMetaObjectCallback callback);
27092716

27102717
void Enter();
27112718
void Exit();

Diff for: deps/chakrashim/src/v8v8.cc

+5
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ void Isolate::SetHostImportModuleDynamicallyCallback(
9696
// CHAKRA-TODO
9797
}
9898

99+
void Isolate::SetHostInitializeImportMetaObjectCallback(
100+
HostInitializeImportMetaObjectCallback callback) {
101+
CHAKRA_UNIMPLEMENTED();
102+
}
103+
99104
void Isolate::SetFatalErrorHandler(FatalErrorCallback that) {
100105
// CONSIDER: Ignoring for now, since we don't have an equivalent concept.
101106
}

0 commit comments

Comments
 (0)