ports/devel/electron28/files/patch-v8_src_wasm_jump-table-assembler.h
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

16 lines
852 B
C

--- v8/src/wasm/jump-table-assembler.h.orig 2023-11-29 21:41:54 UTC
+++ v8/src/wasm/jump-table-assembler.h
@@ -174,9 +174,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;