powerpc: Only initialise opcode indices once
authorAnton Blanchard <anton@samba.org>
Wed, 25 Mar 2015 02:44:28 +0000 (13:44 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 25 Mar 2015 22:12:50 +0000 (09:12 +1100)
commit27c49e9a8fc004de116243ba8887e054f1190b42
treeb55348c1527ae463e67ed7c58697a3fa41fef091
parentc4e676f196560500d41ff8652d6be0c735758001
powerpc: Only initialise opcode indices once

The gdb TUI is calling gdb_print_insn() (which calls
disassemble_init_powerpc()) enough to show up high in profiles. As
suggested by Alan, only initialise if the indices are empty.

opcodes/ChangeLog:
2015-03-25  Anton Blanchard  <anton@samba.org>

* ppc-dis.c (disassemble_init_powerpc): Only initialise
powerpc_opcd_indices and vle_opcd_indices once.
opcodes/ChangeLog
opcodes/ppc-dis.c
This page took 0.026001 seconds and 4 git commands to generate.