aboutsummaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_record.c')
-rw-r--r--src/lj_record.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index 9a3e3375..dbc096a2 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -648,7 +648,10 @@ static TRef rec_call_specialize(jit_State *J, GCfunc *fn, TRef tr)
648 case FF_coroutine_wrap_aux: 648 case FF_coroutine_wrap_aux:
649 case FF_string_gmatch_aux: 649 case FF_string_gmatch_aux:
650 /* NYI: io_file_iter doesn't have an ffid, yet. */ 650 /* NYI: io_file_iter doesn't have an ffid, yet. */
651 /* NYI: specialize to ffid? Not strictly necessary, trace will stop. */ 651 { /* Specialize to the ffid. */
652 TRef trid = emitir(IRT(IR_FLOAD, IRT_U8), tr, IRFL_FUNC_FFID);
653 emitir(IRTG(IR_EQ, IRT_INT), trid, lj_ir_kint(J, fn->c.ffid));
654 }
652 return tr; 655 return tr;
653 default: 656 default:
654 /* NYI: don't specialize to non-monomorphic C functions. */ 657 /* NYI: don't specialize to non-monomorphic C functions. */