Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 66ec7f0f968e04f8e157bcb5271193682d8e039d..cdc1c993ff5b7f536302fea0a68f4209f7c63884 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6447,9 +6447,17 @@ class Script: public Struct { |
// [source_url]: sourceURL from magic comment |
DECL_ACCESSORS(source_url, Object) |
- // [source_url]: sourceMappingURL magic comment |
+ // [source_mapping_url]: sourceMappingURL magic comment |
DECL_ACCESSORS(source_mapping_url, Object) |
+ // [wasm_object]: the wasm object this script belongs to. |
+ // This must only be called if the type of this script is TYPE_WASM. |
+ DECL_ACCESSORS(wasm_object, JSObject) |
+ |
+ // [wasm_function_index]: the wasm function index this script belongs to. |
+ // This must only be called if the type of this script is TYPE_WASM. |
+ DECL_INT_ACCESSORS(wasm_function_index) |
+ |
// [compilation_type]: how the the script was compiled. Encoded in the |
// 'flags' field. |
inline CompilationType compilation_type(); |