mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
ir_function: Make matching_signature not return const
The linker needs to use this function to get specific function signatures, but it also needs to modify the returned signature. Since this method isn't itself const (i.e., const this pointer), there is no value in making a const and non-const version.
This commit is contained in:
parent
13f782c4ae
commit
11fc7beb2f
2 changed files with 2 additions and 2 deletions
|
|
@ -379,7 +379,7 @@ public:
|
|||
* 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);
|
||||
ir_function_signature *matching_signature(exec_list *actual_param);
|
||||
|
||||
/**
|
||||
* Find a signature that exactly matches a set of actual parameters without
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ parameter_lists_match(exec_list *list_a, exec_list *list_b)
|
|||
}
|
||||
|
||||
|
||||
const ir_function_signature *
|
||||
ir_function_signature *
|
||||
ir_function::matching_signature(exec_list *actual_parameters)
|
||||
{
|
||||
ir_function_signature *match = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue