--- v8/src/maglev/x64/maglev-assembler-x64-inl.h.orig 2024-02-04 14:46:08 UTC +++ v8/src/maglev/x64/maglev-assembler-x64-inl.h @@ -232,7 +232,10 @@ void MaglevAssembler::PushReverse(T... vals) { detail::PushAllHelper::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());