Add ir_function::iterator to iterate over function signatures
This commit is contained in:
parent
6a15d5b514
commit
95cd6cc195
|
@ -1475,7 +1475,7 @@ ast_function_definition::hir(exec_list *instructions,
|
|||
const char *const name = this->prototype->identifier;
|
||||
f = state->symbols->get_function(name);
|
||||
if (f != NULL) {
|
||||
foreach_iter(exec_list_iterator, iter, f->signatures) {
|
||||
foreach_iter(exec_list_iterator, iter, *f) {
|
||||
signature = (struct ir_function_signature *) iter.get();
|
||||
|
||||
/* Compare the parameter list of the function being defined to the
|
||||
|
|
Loading…
Reference in New Issue