From 8c46b72d3acad16a1eefc125cc5f749467506b8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 10 May 2020 17:48:15 +0200 Subject: [PATCH] :art: Remove useless statement --- src/emit/emit.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.43.0