diff options
author | Ian Romanick <[email protected]> | 2010-03-31 16:40:26 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-31 16:40:26 -0700 |
commit | 95cd6cc195f4652378d7ecf614c6e1c568311a04 (patch) | |
tree | 16a5b99f33bdc7e4ac4335cf660673dac38cc27f /ast_to_hir.cpp | |
parent | 6a15d5b514b703ff8dd024f96ffbcb68484a954e (diff) |
Add ir_function::iterator to iterate over function signatures
Diffstat (limited to 'ast_to_hir.cpp')
-rw-r--r-- | ast_to_hir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp index 78c92822e30..e6031ae0046 100644 --- a/ast_to_hir.cpp +++ b/ast_to_hir.cpp @@ -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 |