x64: Fix CET IBT.

Reported by Yuichiro Naito. #1400
This commit is contained in:
Mike Pall
2025-10-29 09:38:41 +01:00
parent 5b20d6e305
commit 8518c0b40b

View File

@@ -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