Skip to content

Commit

Permalink
tcg: Fix name for high-half register
Browse files Browse the repository at this point in the history
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed Jul 6, 2016
1 parent 5f6f0e2 commit 120c108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcg/tcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 120c108

Please sign in to comment.