mirror of https://gitee.com/openkylin/qemu.git
tcg: Fix name for high-half register
Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
5f6f0e27fb
commit
120c1084ed
|
@ -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);
|
||||
ts2->name = strdup(buf);
|
||||
} else {
|
||||
ts->base_type = type;
|
||||
ts->type = type;
|
||||
|
|
Loading…
Reference in New Issue