Make demangled_name_entry::language not a bitfield
authorChristian Biesinger <cbiesinger@google.com>
Tue, 22 Oct 2019 19:58:45 +0000 (14:58 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 22 Oct 2019 20:36:37 +0000 (15:36 -0500)
commit403772ef6112b909826f8d7446fb4ceaf6f98a1e
tree221677461276cc18f5f9fb7c345175cb8fa94a57
parent3a49427939764f53e196ae10013c72fcffb8c085
Make demangled_name_entry::language not a bitfield

Having it as a bitfield causes extra work, and this is not memory-sensitive.
Furthermore, once https://sourceware.org/ml/gdb-patches/2019-10/msg00812.html
lands, the bitfield won't even save any memory at all.

gdb/ChangeLog:

2019-10-22  Christian Biesinger  <cbiesinger@google.com>

* symtab.c (struct demangled_name_entry) <language>: Change from
bitfield to regular variable.

Change-Id: I4ea31d1cfcbe0f09a09bd058cd304862308dc388
gdb/ChangeLog
gdb/symtab.c