aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2025-10-29 09:38:41 +0100
committerMike Pall <mike>2025-10-29 09:38:41 +0100
commit8518c0b40b1734901de888a0a363450c0709d3f8 (patch)
treea0ca72429a37e8a26ecfd6820922a82127c3f5c3 /src
parent5b20d6e305b67765de357137105f5af007bac705 (diff)
downloadluajit-8518c0b40b1734901de888a0a363450c0709d3f8.tar.gz
luajit-8518c0b40b1734901de888a0a363450c0709d3f8.tar.bz2
luajit-8518c0b40b1734901de888a0a363450c0709d3f8.zip
x64: Fix CET IBT.
Reported by Yuichiro Naito. #1400
Diffstat (limited to 'src')
-rw-r--r--src/vm_x64.dasc3
1 files changed, 3 insertions, 0 deletions
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)
4140 | hotloop RBd 4140 | hotloop RBd
4141 |.endif 4141 |.endif
4142 |->vm_IITERN: 4142 |->vm_IITERN:
4143 |.if JIT
4144 | endbr
4145 |.endif
4143 | ins_A // RA = base, (RB = nresults+1, RC = nargs+1 (2+1)) 4146 | ins_A // RA = base, (RB = nresults+1, RC = nargs+1 (2+1))
4144 | mov TAB:RB, [BASE+RA*8-16] 4147 | mov TAB:RB, [BASE+RA*8-16]
4145 | cleartp TAB:RB 4148 | cleartp TAB:RB