From 8518c0b40b1734901de888a0a363450c0709d3f8 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 29 Oct 2025 09:38:41 +0100 Subject: x64: Fix CET IBT. Reported by Yuichiro Naito. #1400 --- src/vm_x64.dasc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc index 2e9f0505..4cfb7b6a 100644 --- a/src/vm_x64.dasc +++ b/src/vm_x64.dasc @@ -4140,6 +4140,9 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop) | hotloop RBd |.endif |->vm_IITERN: + |.if JIT + | endbr + |.endif | ins_A // RA = base, (RB = nresults+1, RC = nargs+1 (2+1)) | mov TAB:RB, [BASE+RA*8-16] | cleartp TAB:RB -- cgit v1.2.3-55-g6feb