Convert everything from the talloc API to the ralloc API.
This commit is contained in:
@@ -179,7 +179,7 @@ ir_validate::visit_enter(ir_function *ir)
|
||||
ir_visitor_status
|
||||
ir_validate::visit_leave(ir_function *ir)
|
||||
{
|
||||
assert(talloc_parent(ir->name) == ir);
|
||||
assert(ralloc_parent(ir->name) == ir);
|
||||
|
||||
this->current_function = NULL;
|
||||
return visit_continue;
|
||||
@@ -450,7 +450,7 @@ ir_validate::visit(ir_variable *ir)
|
||||
* declared before it is dereferenced.
|
||||
*/
|
||||
if (ir->name)
|
||||
assert(talloc_parent(ir->name) == ir);
|
||||
assert(ralloc_parent(ir->name) == ir);
|
||||
|
||||
hash_table_insert(ht, ir, ir);
|
||||
return visit_continue;
|
||||
|
Reference in New Issue
Block a user