diff options
author | Richard Henderson <rth@twiddle.net> | 2010-03-19 11:12:29 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-26 21:28:24 +0100 |
commit | a975160954d22c6330b81b5613bd5613f0935011 (patch) | |
tree | 88997b02f72cd46f0f65f58d84755c962f13abcf /tcg/mips | |
parent | a63b5829af498775c24f685f4a40ceec3a8f93ba (diff) | |
download | qemu-a975160954d22c6330b81b5613bd5613f0935011.tar.gz qemu-a975160954d22c6330b81b5613bd5613f0935011.tar.bz2 qemu-a975160954d22c6330b81b5613bd5613f0935011.zip |
tcg: Name the opcode enumeration.
Give the enumeration formed from tcg-opc.h a name: TCGOpcode.
Use that enumeration type instead of "int" whereever appropriate.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/mips')
-rw-r--r-- | tcg/mips/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index ec687ad6f6..3b5ec3c490 100644 --- a/tcg/mips/tcg-target.c +++ b/tcg/mips/tcg-target.c @@ -1088,7 +1088,7 @@ static void tcg_out_qemu_st(TCGContext *s, const TCGArg *args, #endif } -static inline void tcg_out_op(TCGContext *s, int opc, +static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, const int *const_args) { switch(opc) { |