summaryrefslogtreecommitdiffstats
path: root/js/src/wasm/WasmBuiltinModule.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /js/src/wasm/WasmBuiltinModule.yaml
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/wasm/WasmBuiltinModule.yaml')
-rw-r--r--js/src/wasm/WasmBuiltinModule.yaml68
1 files changed, 64 insertions, 4 deletions
diff --git a/js/src/wasm/WasmBuiltinModule.yaml b/js/src/wasm/WasmBuiltinModule.yaml
index 755e0e5e74..eb04ecc7cf 100644
--- a/js/src/wasm/WasmBuiltinModule.yaml
+++ b/js/src/wasm/WasmBuiltinModule.yaml
@@ -285,7 +285,9 @@
export: fromCharCode
params:
- 'i32'
- result: 'externref'
+ result:
+ code: 'extern'
+ nullable: false
fail_mode: FailOnNullPtr
uses_memory: false
@@ -297,7 +299,9 @@
export: fromCodePoint
params:
- 'i32'
- result: 'externref'
+ result:
+ code: 'extern'
+ nullable: false
fail_mode: FailOnNullPtr
uses_memory: false
@@ -348,7 +352,9 @@
params:
- 'externref'
- 'externref'
- result: 'externref'
+ result:
+ code: 'extern'
+ nullable: false
fail_mode: FailOnNullPtr
uses_memory: false
@@ -362,7 +368,9 @@
- 'externref'
- 'i32'
- 'i32'
- result: 'externref'
+ result:
+ code: 'extern'
+ nullable: false
fail_mode: FailOnNullPtr
uses_memory: false
@@ -393,3 +401,55 @@
uses_memory: false
#endif // ENABLE_WASM_JS_STRING_BUILTINS
+
+#if defined(ENABLE_WASM_JSPI)
+
+- op: CheckSuspender
+ symbolic_address:
+ name: CheckSuspender
+ type: Args_General2
+ entry: CheckSuspender
+ export: suspenderCheck
+ params:
+ - 'externref'
+ result: 'externref'
+ fail_mode: FailOnNullPtr
+ uses_memory: false
+
+- op: CurrentSuspender
+ symbolic_address:
+ name: CurrentSuspender
+ type: Args_General_GeneralInt32
+ entry: CurrentSuspender
+ export: currentSuspender
+ params:
+ - 'i32'
+ result: 'externref'
+ fail_mode: FailOnNullPtr
+ uses_memory: false
+
+- op: GetSuspendingPromiseResult
+ symbolic_address:
+ name: GetSuspendingPromiseResult
+ type: Args_General2
+ entry: GetSuspendingPromiseResult
+ export: getSuspendingPromiseResult
+ params:
+ - 'externref'
+ result: 'anyref'
+ fail_mode: FailOnNullPtr
+ uses_memory: false
+
+- op: SetPromisingPromiseResults
+ symbolic_address:
+ name: SetPromisingPromiseResults
+ type: Args_Int32_GeneralGeneralGeneral
+ entry: SetPromisingPromiseResults
+ export: setPromisingPromiseResults
+ params:
+ - 'externref'
+ - 'anyref'
+ fail_mode: FailOnNegI32
+ uses_memory: false
+
+#endif // ENABLE_WASM_JSPI