target-mips: copy insn_flags in DisasContext
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 1 Jan 2013 17:02:22 +0000 (18:02 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 31 Jan 2013 22:29:33 +0000 (23:29 +0100)
commitd75c135e6b6255787dfc01ce997862d820ed1d36
treec3bb2525817981f3b895bc58adac4f7239f39adb
parentf7d2072e25d3592acec4657dae8862facf298e9f
target-mips: copy insn_flags in DisasContext

Copy insn_flags in DisasContext to avoid passing a CPUMIPSState pointer
to subroutines, as suggested by Richard Henderson. Change subroutines to
use this new field and remove the first argument.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c