From: Jérémie Astor Date: Sun, 10 May 2020 15:48:15 +0000 (+0200) Subject: :art: Remove useless statement X-Git-Tag: nightly~1596 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8c46b72d3acad16a1eefc125cc5f749467506b8e;p=gwion.git :art: Remove useless statement --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 5a47b19e..90940c0a 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -348,8 +348,6 @@ ANN static m_bool _emit_symbol(const Emitter emit, const Symbol *data) { const m_uint size = v->type->size; const Instr instr = emit_kind(emit, size, exp_getvar(prim_exp(data)), !GET_FLAG(v, global) ? regpushmem : regpushbase); instr->m_val = v->from->offset; - if(isa(v->type, emit->gwion->type[et_function]) > 0 && !is_fptr(emit->gwion, v->type)) - instr->m_val = prim_exp(data)->info->type->e->d.func->value_ref->from->offset; return GW_OK; }