ports/devel/electron33/files/patch-v8_src_builtins_x64_builtins-x64.cc
Hiroki Tagato 9c04d144dd devel/electron33: 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://www.electronjs.org/
2024-11-13 23:41:37 +09:00

14 lines
444 B
C++

--- v8/src/builtins/x64/builtins-x64.cc.orig 2024-10-16 21:34:46 UTC
+++ v8/src/builtins/x64/builtins-x64.cc
@@ -2838,7 +2838,11 @@ void Generate_OSREntry(MacroAssembler* masm, Register
// Drop the return address on the stack and jump to the OSR entry
// point of the function.
__ Drop(1);
+#ifdef V8_ENABLE_CET_IBT
+ __ jmp(entry_address, /*notrack=*/true);
+#else
__ jmp(entry_address);
+#endif
}
enum class OsrSourceTier {