summaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
authorMike Pall <mike>2020-10-12 15:40:28 +0200
committerMike Pall <mike>2020-10-12 15:40:28 +0200
commitde6b1a11dd1a3349179084578c5d533be1c30234 (patch)
treef82129c93cef707f410be068c782dcedee98419d /src/lj_asm.c
parente8ec6fe996cf48ef23755581dafe372eb71ad75c (diff)
downloadluajit-de6b1a11dd1a3349179084578c5d533be1c30234.tar.gz
luajit-de6b1a11dd1a3349179084578c5d533be1c30234.tar.bz2
luajit-de6b1a11dd1a3349179084578c5d533be1c30234.zip
Ensure full init of IR_NOP instructions.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 9b17421e..60be4337 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1833,7 +1833,7 @@ void lj_asm_trace(jit_State *J, GCtrace *T)
1833 1833
1834 /* Ensure an initialized instruction beyond the last one for HIOP checks. */ 1834 /* Ensure an initialized instruction beyond the last one for HIOP checks. */
1835 J->cur.nins = lj_ir_nextins(J); 1835 J->cur.nins = lj_ir_nextins(J);
1836 J->cur.ir[J->cur.nins].o = IR_NOP; 1836 lj_ir_nop(&J->cur.ir[J->cur.nins]);
1837 1837
1838 /* Setup initial state. Copy some fields to reduce indirections. */ 1838 /* Setup initial state. Copy some fields to reduce indirections. */
1839 as->J = J; 1839 as->J = J;