Convert everything from the talloc API to the ralloc API.

This commit is contained in:
Kenneth Graunke
2011-01-21 14:32:31 -08:00
parent dc55254f5b
commit d3073f58c1
67 changed files with 590 additions and 604 deletions

View File

@@ -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;