On 07/25/2016 04:53 PM, Aurelien Jarno wrote:
On 2016-06-23 20:48, Richard Henderson wrote:
@@ -1287,18 +1287,10 @@ void tcg_op_remove(TCGContext *s, TCGOp *op)
int next = op->next;
int prev = op->prev;
-if (next >= 0) {
-s->gen_op_buf[next].prev = prev;
-} else {
-
On 2016-06-23 20:48, Richard Henderson wrote:
> Instead of using -1 as end of chain, use 0, and link through the 0
> entry as a fully circular double-linked list.
>
> Signed-off-by: Richard Henderson
> ---
> include/exec/gen-icount.h | 2 +-
> tcg/optimize.c| 8
Instead of using -1 as end of chain, use 0, and link through the 0
entry as a fully circular double-linked list.
Signed-off-by: Richard Henderson
---
include/exec/gen-icount.h | 2 +-
tcg/optimize.c| 8 ++--
tcg/tcg-op.c | 2 +-
tcg/tcg.c