blob: d8cce9e4f030f7760a8395446a3fb8787db8ca6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- v8/src/codegen/x64/macro-assembler-x64.h.orig 2023-08-18 10:26:52 UTC
+++ v8/src/codegen/x64/macro-assembler-x64.h
@@ -625,11 +625,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
|