projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6f0e2
)
tcg: Fix name for high-half register
author
Richard Henderson
<rth@twiddle.net>
Sat, 18 Jun 2016 00:02:20 +0000
(17:02 -0700)
committer
Richard Henderson
<rth@twiddle.net>
Wed, 6 Jul 2016 03:50:12 +0000
(20:50 -0700)
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.c
patch
|
blob
|
history
diff --git
a/tcg/tcg.c
b/tcg/tcg.c
index 254427b1b7e0d1d7a66b01fe351cf6c574116c89..154ffe801cb9b11e23cb91df43901a1618f666fd 100644
(file)
--- a/
tcg/tcg.c
+++ b/
tcg/tcg.c
@@
-557,7
+557,7
@@
int tcg_global_mem_new_internal(TCGType type, TCGv_ptr base,
ts2->mem_offset = offset + (1 - bigendian) * 4;
pstrcpy(buf, sizeof(buf), name);
pstrcat(buf, sizeof(buf), "_1");
- ts->name = strdup(buf);
+ ts
2
->name = strdup(buf);
} else {
ts->base_type = type;
ts->type = type;