OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767c250
)
tcg: Clear TCGLabelQemuLdst on allocation
author
Richard Henderson
<richard.henderson@linaro.org>
Thu, 6 Apr 2023 18:38:56 +0000
(11:38 -0700)
committer
Richard Henderson
<richard.henderson@linaro.org>
Sun, 23 Apr 2023 07:46:45 +0000
(08:46 +0100)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg-ldst.c.inc
patch
|
blob
|
history
diff --git
a/tcg/tcg-ldst.c.inc
b/tcg/tcg-ldst.c.inc
index
6c6848d
..
403cbb0
100644
(file)
--- a/
tcg/tcg-ldst.c.inc
+++ b/
tcg/tcg-ldst.c.inc
@@
-72,6
+72,7
@@
static inline TCGLabelQemuLdst *new_ldst_label(TCGContext *s)
{
TCGLabelQemuLdst *l = tcg_malloc(sizeof(*l));
+ memset(l, 0, sizeof(*l));
QSIMPLEQ_INSERT_TAIL(&s->ldst_labels, l, next);
return l;