diff options
author | Kenneth Graunke <[email protected]> | 2010-04-28 12:04:23 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-04-28 15:34:52 -0700 |
commit | 0d605cb97c9cd2f9a170e3aa15bdf4021a75fc14 (patch) | |
tree | c4abee1f1d1c90d18e9c5f7e0916d5769c83b696 /ir.h | |
parent | abd40b15210c17b2a3ba8fcffc868fda203efa01 (diff) |
Factor out parameter list matching from ast_function::hir for later reuse.
Unfortunately, we still have two kinds of matching - one, with implicit
conversions (for use in calls) and another without them (for finding a
prototype to overwrite when processing a function body). This commit
does not attempt to coalesce the two.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -276,11 +276,18 @@ public: } /** - * Find a signature that matches a set of actual parameters. + * Find a signature that matches a set of actual parameters, taking implicit + * conversions into account. */ const ir_function_signature *matching_signature(exec_list *actual_param); /** + * Find a signature that exactly matches a set of actual parameters without + * any implicit type conversions. + */ + ir_function_signature *exact_matching_signature(exec_list *actual_ps); + + /** * Name of the function. */ const char *name; |