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