diff options
author | 2012-11-09 19:40:51 -0800 | |
---|---|---|
committer | 2012-11-11 16:05:25 +0100 | |
commit | 7c2c3ea3fd9e108a1c174a5db021ac1d33b1a22d (patch) | |
tree | fe62ce2084806f7a26cd1ca15abd977520f52f1c /qapi/qapi-dealloc-visitor.c | |
parent | target-i386: avoid using cpu_single_env (diff) | |
download | qemu-7c2c3ea3fd9e108a1c174a5db021ac1d33b1a22d.tar.xz qemu-7c2c3ea3fd9e108a1c174a5db021ac1d33b1a22d.zip |
target-mips: Fix seg fault for LUI when MIPS_DEBUG_DISAS==1.
The call to gen_logic_imm for OPC_LUI passes -1 for rs. This
causes the MIPS_DEBUG statement to seg fault due to the deference
of regnames[rs]. This patch fixes that.
Signed-off-by: Eric Johnson <ericj@mips.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(aurel32: replaced static string formating by a static string)
Diffstat (limited to 'qapi/qapi-dealloc-visitor.c')
0 files changed, 0 insertions, 0 deletions