aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_x64_macro-assembler-x64.h
blob: e230f62250528fec79bc8bf3d3d30e2f42b8c407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/3rdparty/chromium/v8/src/codegen/x64/macro-assembler-x64.h.orig	2023-10-11 18:22:24 UTC
+++ src/3rdparty/chromium/v8/src/codegen/x64/macro-assembler-x64.h
@@ -646,11 +646,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