summaryrefslogtreecommitdiffstats
path: root/js/src/jit/CodeGenerator.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/jit/CodeGenerator.h
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-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.h12
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>