Remove language check from dwarf2_compute_name
authorTom Tromey <tromey@adacore.com>
Fri, 4 Nov 2022 20:08:13 +0000 (14:08 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 1 Dec 2022 18:16:41 +0000 (11:16 -0700)
commit5f0a4fb85ed3b5fb112ff884a98eb95c685658b0
treebb86a5337fdb295354ca59a6fd9b1b0330937c16
parent00a5867df72983c3f8a11c9955c5032d6f601b70
Remove language check from dwarf2_compute_name

dwarf2_compute_name has a redundant check of the CU's language -- this
is also checked in dwarf2_canonicalize_name.  Removing this slightly
simplifies a future patch.

Reviewed-by: Andrew Burgess <aburgess@redhat.com>
gdb/dwarf2/read.c