qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 20b/27] tcg: Vary the allocation size for TCGOp


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v4 20b/27] tcg: Vary the allocation size for TCGOp
Date: Mon, 19 Dec 2022 08:16:24 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 18/12/22 23:44, Richard Henderson wrote:
On 12/18/22 13:49, Philippe Mathieu-Daudé wrote:
+ found:
      memset(op, 0, offsetof(TCGOp, link));
      op->opc = opc;
-    s->nb_ops++;
+    op->nargs = nargs;

We can move this assignation before the 'found' label.

No, affected by the memset.

Oh, I missed that, good point.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]