]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove useless statement
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 15:48:15 +0000 (17:48 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 15:48:15 +0000 (17:48 +0200)
src/emit/emit.c

index 5a47b19e479a6e11cc2b66298777384c82297ece..90940c0a35286a1c9aa9eed9e9a2581d23392246 100644 (file)
@@ -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;
 }