aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_wasm_jump-table-assembler.h
blob: b1f3d1d5539f3183f5ac5faa098f3defef3ff8b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/3rdparty/chromium/v8/src/wasm/jump-table-assembler.h.orig	2023-07-16 15:47:57 UTC
+++ src/3rdparty/chromium/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;