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
signatures.push_tail(sig);
}
+ /**
+ * Get an iterator for the set of function signatures
+ */
+ exec_list_iterator iterator()
+ {
+ return signatures.iterator();
+ }
+
/**
* Find a signature that matches a set of actual parameters.
*/