Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 5dc18607b2b9431a96dd50693f00d35837a27af3..f7cedf4889628052d37bb31772bfbdf1941c93ab 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6557,9 +6557,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(); |