Diff for /qemu/cris-dis.c between versions 1.1.1.5 and 1.1.1.6

version 1.1.1.5, 2018/04/24 18:33:46 version 1.1.1.6, 2018/04/24 19:17:08
Line 1396  get_opcode_entry (unsigned int insn, Line 1396  get_opcode_entry (unsigned int insn,
   /* Allocate and clear the opcode-table.  */    /* Allocate and clear the opcode-table.  */
   if (opc_table == NULL)    if (opc_table == NULL)
     {      {
       opc_table = qemu_malloc (65536 * sizeof (opc_table[0]));        opc_table = g_malloc (65536 * sizeof (opc_table[0]));
   
       memset (opc_table, 0, 65536 * sizeof (const struct cris_opcode *));        memset (opc_table, 0, 65536 * sizeof (const struct cris_opcode *));
   
       dip_prefixes        dip_prefixes
         = qemu_malloc (65536 * sizeof (const struct cris_opcode **));          = g_malloc (65536 * sizeof (const struct cris_opcode **));
   
       memset (dip_prefixes, 0, 65536 * sizeof (dip_prefixes[0]));        memset (dip_prefixes, 0, 65536 * sizeof (dip_prefixes[0]));
   
       bdapq_m1_prefixes        bdapq_m1_prefixes
         = qemu_malloc (65536 * sizeof (const struct cris_opcode **));          = g_malloc (65536 * sizeof (const struct cris_opcode **));
   
       memset (bdapq_m1_prefixes, 0, 65536 * sizeof (bdapq_m1_prefixes[0]));        memset (bdapq_m1_prefixes, 0, 65536 * sizeof (bdapq_m1_prefixes[0]));
   
       bdapq_m2_prefixes        bdapq_m2_prefixes
         = qemu_malloc (65536 * sizeof (const struct cris_opcode **));          = g_malloc (65536 * sizeof (const struct cris_opcode **));
   
       memset (bdapq_m2_prefixes, 0, 65536 * sizeof (bdapq_m2_prefixes[0]));        memset (bdapq_m2_prefixes, 0, 65536 * sizeof (bdapq_m2_prefixes[0]));
   
       bdapq_m4_prefixes        bdapq_m4_prefixes
         = qemu_malloc (65536 * sizeof (const struct cris_opcode **));          = g_malloc (65536 * sizeof (const struct cris_opcode **));
   
       memset (bdapq_m4_prefixes, 0, 65536 * sizeof (bdapq_m4_prefixes[0]));        memset (bdapq_m4_prefixes, 0, 65536 * sizeof (bdapq_m4_prefixes[0]));
   
       rest_prefixes        rest_prefixes
         = qemu_malloc (65536 * sizeof (const struct cris_opcode **));          = g_malloc (65536 * sizeof (const struct cris_opcode **));
   
       memset (rest_prefixes, 0, 65536 * sizeof (rest_prefixes[0]));        memset (rest_prefixes, 0, 65536 * sizeof (rest_prefixes[0]));
     }      }

Removed from v.1.1.1.5  
changed lines
  Added in v.1.1.1.6


unix.superglobalmegacorp.com