jit: make gdb_symtab::blocks an std::forward_list
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c797e87703f43491c00128658e14f1d85a79241f..fa3f0a689357b9c998b51177b89bdf4016e12228 100644 (file)
@@ -1,3 +1,14 @@
+2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (struct gdb_block) <next>: Remove field.
+       (struct gdb_symtab) <~gdb_symtab>: Remove.
+       <blocks>: Change type to std::forward_list<gdb_block>.
+       (compare_block): Remove.
+       (jit_block_open_impl): Adjust to std::forward_list.  Place the new
+       block at the beginning, don't mind about sorting.
+       (finalize_symtab): Adjust to std::forward_list, sort the blocks list
+       before using it.
+
 2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * jit.c (struct gdb_block): Add constructor, initialize
This page took 0.025773 seconds and 4 git commands to generate.