]> Nishi Git Mirror - gwion.git/commitdiff
:art: Lint
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 13 Apr 2020 21:56:05 +0000 (23:56 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 13 Apr 2020 21:56:05 +0000 (23:56 +0200)
src/emit/emit.c

index 219921b283134649f7b8cfa86519ff20a06c14e4..f7988a8718c377312d06379e73a78188dc572d55 100644 (file)
@@ -1152,10 +1152,8 @@ ANN static m_bool emit_implicit_cast(const Emitter emit,
 }
 
 ANN static Instr _flow(const Emitter emit, const Exp e, const m_bool b) {
-    CHECK_BO(emit_exp_pop_next(emit, e))
-const Exp next = e->next;
-    emit_exp_addref(emit, e, -exp_size(e));
-e->next = next;
+  CHECK_BO(emit_exp_pop_next(emit, e))
+  emit_exp_addref(emit, e, -exp_size(e));
   struct Op_Import opi = { .op=insert_symbol(b ? "@conditionnal" : "@unconditionnal"),
                            .rhs=e->info->type, .pos=e->pos, .data=(uintptr_t)e, .op_type=op_exp };
   const Instr instr = op_emit(emit, &opi);