summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-v8_src_maglev_x64_maglev-assembler-x64-inl.h
blob: dd699baba2f2c0118f858eda5a83591d85f40e75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- v8/src/maglev/x64/maglev-assembler-x64-inl.h.orig	2023-12-23 12:33:28 UTC
+++ v8/src/maglev/x64/maglev-assembler-x64-inl.h
@@ -232,7 +232,10 @@ void MaglevAssembler::PushReverse(T... vals) {
   detail::PushAllHelper<T...>::PushReverse(this, vals...);
 }
 
-inline void MaglevAssembler::BindJumpTarget(Label* label) { bind(label); }
+inline void MaglevAssembler::BindJumpTarget(Label* label) {
+  bind(label);
+  endbr64();
+}
 
 inline void MaglevAssembler::BindBlock(BasicBlock* block) {
   bind(block->label());