mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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>
This commit is contained in:
parent
a63b5829af
commit
a975160954
12 changed files with 78 additions and 63 deletions
|
@ -1292,7 +1292,7 @@ void ppc_tb_set_jmp_target (unsigned long jmp_addr, unsigned long addr)
|
|||
flush_icache_range(jmp_addr, jmp_addr + patch_size);
|
||||
}
|
||||
|
||||
static void tcg_out_op(TCGContext *s, int opc, const TCGArg *args,
|
||||
static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
|
||||
const int *const_args)
|
||||
{
|
||||
switch (opc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue