ir_call: Add method to set the function signature being called
This commit is contained in:
@@ -836,6 +836,14 @@ ir_call::get_error_instruction(void *ctx)
|
||||
return call;
|
||||
}
|
||||
|
||||
void
|
||||
ir_call::set_callee(const ir_function_signature *sig)
|
||||
{
|
||||
assert((this->type == NULL) || (this->type == sig->return_type));
|
||||
|
||||
this->callee = sig;
|
||||
}
|
||||
|
||||
void
|
||||
visit_exec_list(exec_list *list, ir_visitor *visitor)
|
||||
{
|
||||
|
Reference in New Issue
Block a user