From 1cf0b06040ed443ab85fe4b5d56ebb33c5c6c544 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 11 Dec 2022 13:34:04 +0100 Subject: [PATCH] :art: clean emit_exp_call1 --- src/emit/emit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emit/emit.c b/src/emit/emit.c index 56b0c8e1..2d1f804a 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -1618,10 +1618,9 @@ ANN m_bool emit_exp_call1(const Emitter emit, const Func f, const bool is_static) { const EmitterStatus status = emit->status; emit->status = (EmitterStatus){}; - const int tmpl = fflag(f, fflag_tmpl); if(unlikely(fflag(f, fflag_fptr))) emit_fptr_call(emit, f); else if (unlikely(!f->code && emit->env->func != f)) { - if (tmpl) CHECK_BB(emit_template_code(emit, f)); + if (fflag(f, fflag_tmpl)) CHECK_BB(emit_template_code(emit, f)); else CHECK_BB(emit_ensure_func(emit, f)); } else if(is_static) push_func_code(emit, f); -- 2.43.0