Fix two regressions caused by CU / TU merging
[deliverable/binutils-gdb.git] / gdb / dwarf2 / read.h
index ee454ad300a12a74c1e90190241906bbafcbe7a9..1990849a81a43956872213821042a0e023a3679d 100644 (file)
@@ -514,16 +514,6 @@ struct dwarf2_per_objfile
                                const struct comp_unit_head *cu_header,
                                unsigned int *bytes_read_ptr);
 
-  /* Resize the M_SYMTABS vector to the needed size (the number of partial
-     symtabs allocated by the per-bfd).  */
-  void resize_symtabs ()
-  {
-    /* The symtabs vector should only grow, not shrink.  */
-    gdb_assert (per_bfd->all_comp_units.size () >= m_symtabs.size ());
-
-    m_symtabs.resize (per_bfd->all_comp_units.size ());
-  }
-
   /* Return true if the symtab corresponding to PER_CU has been set,
      false otherwise.  */
   bool symtab_set_p (const dwarf2_per_cu_data *per_cu) const;
This page took 0.024935 seconds and 4 git commands to generate.