aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2026-02-24 22:17:01 +0100
committerMike Pall <mike>2026-02-24 22:17:01 +0100
commitfc3d17eb4048212ecc5a2fe0a4a15096130f4e40 (patch)
tree2cc3fadb0152fbad644e9b1947dec70b5e2c9e2d
parent1c3b5a4d722598ecbb9219480142eda682e87bb1 (diff)
parent02e29995581cb568a784a9b996cd5e9139cd0737 (diff)
downloadluajit-fc3d17eb4048212ecc5a2fe0a4a15096130f4e40.tar.gz
luajit-fc3d17eb4048212ecc5a2fe0a4a15096130f4e40.tar.bz2
luajit-fc3d17eb4048212ecc5a2fe0a4a15096130f4e40.zip
Merge branch 'master' into v2.1
-rw-r--r--src/lj_crecord.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 4f27cffe..4be36eca 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -895,6 +895,8 @@ again:
895 } 895 }
896 J->base[0] = lj_ir_kint(J, (int32_t)fct->size); 896 J->base[0] = lj_ir_kint(J, (int32_t)fct->size);
897 return; /* Interpreter will throw for newindex. */ 897 return; /* Interpreter will throw for newindex. */
898 } else if (cd && cd->ctypeid == CTID_CTYPEID) {
899 /* Only resolve constants and metamethods for constructors. */
898 } else if (ctype_isbitfield(fct->info)) { 900 } else if (ctype_isbitfield(fct->info)) {
899 if (ofs) 901 if (ofs)
900 ptr = emitir(IRT(IR_ADD, IRT_PTR), ptr, lj_ir_kintp(J, ofs)); 902 ptr = emitir(IRT(IR_ADD, IRT_PTR), ptr, lj_ir_kintp(J, ofs));