diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/jit/CodeGenerator.h | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | js/src/jit/CodeGenerator.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/js/src/jit/CodeGenerator.h b/js/src/jit/CodeGenerator.h index 282771a79e..c883569193 100644 --- a/js/src/jit/CodeGenerator.h +++ b/js/src/jit/CodeGenerator.h @@ -109,6 +109,11 @@ class CodeGenerator final : public CodeGeneratorSpecific { const StoreOutputTo& out); template <typename LCallIns> + void emitCallNative(LCallIns* call, JSNative native, Register argContextReg, + Register argUintNReg, Register argVpReg, Register tempReg, + uint32_t unusedStack); + + template <typename LCallIns> void emitCallNative(LCallIns* call, JSNative native); public: @@ -204,6 +209,11 @@ class CodeGenerator final : public CodeGeneratorSpecific { wasm::BytecodeOffset bytecodeOffset); void visitOutOfLineWasmNewArray(OutOfLineWasmNewArray* ool); +#ifdef ENABLE_WASM_JSPI + void callWasmUpdateSuspenderState(wasm::UpdateSuspenderStateAction kind, + Register suspender); +#endif + private: void emitPostWriteBarrier(const LAllocation* obj); void emitPostWriteBarrier(Register objreg); @@ -248,7 +258,7 @@ class CodeGenerator final : public CodeGeneratorSpecific { template <typename T> void emitApplyNative(T* apply); template <typename T> - void emitCallInvokeNativeFunction(T* apply); + void emitAlignStackForApplyNative(T* apply, Register argc); template <typename T> void emitPushNativeArguments(T* apply); template <typename T> |