Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 32fa8ba6e454465f02dad161232557d4402b79ef..f77ac4bc8ea3664643a20395b970e03ab8a6ece3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7927,6 +7927,9 @@ |
// Storage for [[Evaluated]]. |
DECL_INT_ACCESSORS(flags) |
+ // Embedder-specified data |
+ DECL_ACCESSORS(embedder_data, Object) |
+ |
// Hash for this object (a random non-zero Smi). |
DECL_INT_ACCESSORS(hash) |
@@ -7941,7 +7944,8 @@ |
// otherwise. |
static MUST_USE_RESULT bool Instantiate(Handle<Module> module, |
v8::Local<v8::Context> context, |
- v8::Module::ResolveCallback callback); |
+ v8::Module::ResolveCallback callback, |
+ v8::Local<v8::Value> callback_data); |
// Implementation of spec operation ModuleEvaluation. |
static MUST_USE_RESULT MaybeHandle<Object> Evaluate(Handle<Module> module); |