ports/devel/electron28/files/patch-v8_src_codegen_x64_macro-assembler-x64.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

20 lines
794 B
C

--- v8/src/codegen/x64/macro-assembler-x64.h.orig 2023-11-29 21:41:53 UTC
+++ v8/src/codegen/x64/macro-assembler-x64.h
@@ -655,11 +655,14 @@ class V8_EXPORT_PRIVATE MacroAssembler
// Define a function entrypoint. This doesn't emit any code for this
// architecture, as control-flow integrity is not supported for it.
- void CodeEntry() {}
+ void CodeEntry();
// Define an exception handler.
- void ExceptionHandler() {}
+ void ExceptionHandler() { CodeEntry(); }
// Define an exception handler and bind a label.
- void BindExceptionHandler(Label* label) { bind(label); }
+ void BindExceptionHandler(Label* label) {
+ bind(label);
+ CodeEntry();
+ }
// ---------------------------------------------------------------------------
// Pointer compression support