summaryrefslogtreecommitdiffstats
path: root/js/src/jit/CodeGenerator.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /js/src/jit/CodeGenerator.h
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/jit/CodeGenerator.h')
-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>