SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Index: v8/src/wasm/jump-table-assembler.h
--- v8/src/wasm/jump-table-assembler.h.orig
+++ v8/src/wasm/jump-table-assembler.h
@@ -185,9 +185,10 @@ class V8_EXPORT_PRIVATE JumpTableAssembler : public Ma
// boundaries. The jump table line size has been chosen to satisfy this.
#if V8_TARGET_ARCH_X64
static constexpr int kJumpTableLineSize = 64;
- static constexpr int kJumpTableSlotSize = 5;
- static constexpr int kFarJumpTableSlotSize = 16;
- static constexpr int kLazyCompileTableSlotSize = 10;
+ static constexpr int kJumpTableSlotSize = 5 + 4;
+ static constexpr int kFarJumpTableSlotOffset = 2 * kSystemPointerSize;
+ static constexpr int kFarJumpTableSlotSize = 16 + 8;
+ static constexpr int kLazyCompileTableSlotSize = 10 + 4;
#elif V8_TARGET_ARCH_IA32
static constexpr int kJumpTableLineSize = 64;
static constexpr int kJumpTableSlotSize = 5;