forked from Imagelibrary/binutils-gdb
Convert block_static_block and block_global_block to methods
This converts block_static_block and block_global_block to be methods. This was mostly written by script. It was simpler to convert them at the same time because they're often used near each other.
This commit is contained in:
@@ -13798,7 +13798,7 @@ public:
|
||||
sym = ada_lookup_symbol (name,
|
||||
(block == nullptr
|
||||
? nullptr
|
||||
: block_static_block (block)),
|
||||
: block->static_block ()),
|
||||
domain);
|
||||
if (sym.symbol != NULL)
|
||||
return sym;
|
||||
|
||||
Reference in New Issue
Block a user