void tcg_op_remove(TCGContext *s, TCGOp *op)

{

    int next = op->next;

    int prev = op->prev;



    /* We should never attempt to remove the list terminator.  */

    tcg_debug_assert(op != &s->gen_op_buf[0]);



    s->gen_op_buf[next].prev = prev;

    s->gen_op_buf[prev].next = next;



    memset(op, 0, sizeof(*op));



#ifdef CONFIG_PROFILER

    atomic_set(&s->prof.del_op_count, s->prof.del_op_count + 1);

#endif

}

void tcg_op_remove(TCGContext *s, TCGOp *op)

{

    int next = op->next;

    int prev = op->prev;



    

    tcg_debug_assert(op != &s->gen_op_buf[0]);



    s->gen_op_buf[next].prev = prev;

    s->gen_op_buf[prev].next = next;



    memset(op, 0, sizeof(*op));



#ifdef CONFIG_PROFILER

    atomic_set(&s->prof.del_op_count, s->prof.del_op_count + 1);

#endif

}

#endif     int next = op->next;     int prev = op->prev;     tcg_debug_assert(op != &s->gen_op_buf[0]);     s->gen_op_buf[next].prev = prev;     s->gen_op_buf[prev].next = next;     memset(op, 0, sizeof(*op));
void FUNC_0(TCGContext *VAR_0, TCGOp *VAR_1)

{

    int VAR_2 = VAR_1->VAR_2;

    int VAR_3 = VAR_1->VAR_3;



    

    tcg_debug_assert(VAR_1 != &VAR_0->gen_op_buf[0]);



    VAR_0->gen_op_buf[VAR_2].VAR_3 = VAR_3;

    VAR_0->gen_op_buf[VAR_3].VAR_2 = VAR_2;



    memset(VAR_1, 0, sizeof(*VAR_1));



#ifdef CONFIG_PROFILER

    atomic_set(&VAR_0->prof.del_op_count, VAR_0->prof.del_op_count + 1);

#endif

}

void FUNC_0(TCGContext *VAR_0, TCGOp *VAR_1)
{ int VAR_2 = VAR_1->VAR_2; int VAR_3 = VAR_1->VAR_3; tcg_debug_assert(VAR_1 != &VAR_0->gen_op_buf[0]); VAR_0->gen_op_buf[VAR_2].VAR_3 = VAR_3; VAR_0->gen_op_buf[VAR_3].VAR_2 = VAR_2; memset(VAR_1, 0, sizeof(*VAR_1)); #ifdef CONFIG_PROFILER
atomic_set(&VAR_0->prof.del_op_count, VAR_0->prof.del_op_count + 1); #endif
}