tcg/mips: fix crash in tcg_out_qemu_ld()
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Feb 2010 21:54:22 +0000 (22:54 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Feb 2010 21:54:22 +0000 (22:54 +0100)
commitcee73149cb816c4165a24f75fcaf06e85d5dc2b3
tree5f66ee8faebd68da2ea05eda33399ddd54d19dc3
parent32772f21d9ba500ca8111821494dd399e4ecf77f
tcg/mips: fix crash in tcg_out_qemu_ld()

The address register is overriden when it corresponds to v0 and the fast
path is taken, which leads to a crash. Fix that by using the a0 register
instead.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/mips/tcg-target.c