Convert block_linkage_function to method

This converts block_linkage_function to be a method.  This was mostly
written by script.
This commit is contained in:
Tom Tromey
2023-01-16 17:44:20 -07:00
parent 3c45e9f915
commit 3c9d050626
10 changed files with 22 additions and 19 deletions

View File

@@ -1887,7 +1887,7 @@ op_this_operation::do_generate_ax (struct expression *exp,
const struct language_defn *lang;
b = block_for_pc (ax->scope);
func = block_linkage_function (b);
func = b->linkage_function ();
lang = language_def (func->language ());
sym = lookup_language_this (lang, b).symbol;