+2020-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * language.h (LA_ITERATE_OVER_SYMBOLS): Delete.
+ (iterate_over_file_blocks): Replace use of macro with the macros
+ definition.
+
2020-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
* language.h (LA_PRINT_ARRAY_INDEX): Delete.
#define LA_EMIT_CHAR(ch, type, stream, quoter) \
(current_language->emitchar (ch, type, stream, quoter))
-#define LA_ITERATE_OVER_SYMBOLS(BLOCK, NAME, DOMAIN, CALLBACK) \
- (current_language->iterate_over_symbols (BLOCK, NAME, DOMAIN, CALLBACK))
-
/* Test a character to decide whether it can be printed in literal form
or needs to be printed in another representation. For example,
in C the literal form of the character with octal value 141 is 'a'
for (block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab), STATIC_BLOCK);
block != NULL;
block = BLOCK_SUPERBLOCK (block))
- LA_ITERATE_OVER_SYMBOLS (block, name, domain, callback);
+ current_language->iterate_over_symbols (block, name, domain, callback);
}
/* A helper for find_method. This finds all methods in type T of