summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-v8_src_maglev_x64_maglev-assembler-x64-inl.h
blob: edeee58e8ed2c02d1976d3087edbde3b82cdb67b (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-11-04 07:08:51 UTC
+++ v8/src/maglev/x64/maglev-assembler-x64-inl.h
@@ -231,7 +231,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());