disas: QOMify sh4 specific disas setup
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Sun, 12 Jul 2015 02:00:03 +0000 (19:00 -0700)
committerAndreas Färber <afaerber@suse.de>
Thu, 22 Oct 2015 13:49:40 +0000 (15:49 +0200)
commitd49dd523e459a4c001a0c87a438fd2fa1f5b4bae
tree05b19cd7381891f69690a548e0753d220cdff851
parent20984673e68ebd069222512c876b846ff2425cc0
disas: QOMify sh4 specific disas setup

Move the target_disas() sh4 specifics to the CPUClass::disas_set_info()
hook and delete the #ifdef specific code in disas.c.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
disas.c
target-sh4/cpu.c