From 699526cdf2d7d592669cec17fcfbb31db694a27c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 28 Apr 2022 23:54:48 +0200 Subject: [PATCH] :art: remove useless func --- src/emit/emit.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/emit/emit.c b/src/emit/emit.c index b9f499dc..0f5e17c5 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -2099,16 +2099,6 @@ ANN static m_bool emit_exp_if(const Emitter emit, const Exp_If *exp_if) { return ret; } -ANN static inline m_bool emit_prim_novar(const Emitter emit, - const Exp_Primary *prim) { - const Exp e = exp_self(prim); - const uint var = exp_getvar(e); - exp_setvar(e, 0); - CHECK_BB(emit_symbol(emit, prim)); - exp_setvar(e, var); - return GW_OK; -} - ANN static m_bool emit_lambda(const Emitter emit, const Exp_Lambda *lambda) { CHECK_BB(emit_func_def(emit, lambda->def)); if (vflag(lambda->def->base->func->value_ref, vflag_member) && -- 2.43.0