mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user