x86-64: don't accept supposedly disabled MOVQ forms
[deliverable/binutils-gdb.git] / opcodes / xtensa-dis.c
index b156544fce4aec99d918896ff6e19cfcb1627bd9..4f15ceee16e3fc5dd7fafe6bd51da35465d593de 100644 (file)
@@ -1,5 +1,5 @@
 /* xtensa-dis.c.  Disassembly functions for Xtensa.
-   Copyright (C) 2003-2018 Free Software Foundation, Inc.
+   Copyright (C) 2003-2021 Free Software Foundation, Inc.
    Contributed by Bob Wilson at Tensilica, Inc. (bwilson@tensilica.com)
 
    This file is part of the GNU opcodes library.
@@ -306,8 +306,7 @@ print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
            {
              /* Reset insn_table_entries.  */
              priv.insn_table_entry_count = 0;
-             if (priv.insn_table_entries)
-               free (priv.insn_table_entries);
+             free (priv.insn_table_entries);
              priv.insn_table_entries = NULL;
            }
          priv.last_section = section;
@@ -319,8 +318,7 @@ print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
                                       XTENSA_PROP_SEC_NAME, FALSE);
          if (priv.insn_table_entry_count == 0)
            {
-             if (priv.insn_table_entries)
-               free (priv.insn_table_entries);
+             free (priv.insn_table_entries);
              priv.insn_table_entries = NULL;
              /* Backwards compatibility support.  */
              priv.insn_table_entry_count =
This page took 0.023462 seconds and 4 git commands to generate.