From 9fa99f3b6c84fe927ba97e6584cd919f097a6c9a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 21 Apr 2010 12:30:22 -0700 Subject: Refactor IR function representation. Now, ir_function is emitted as part of the IR instructions, rather than simply existing in the symbol table. Individual ir_function_signatures are not emitted themselves, but only as part of ir_function. --- ir_if_simplification.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ir_if_simplification.cpp') diff --git a/ir_if_simplification.cpp b/ir_if_simplification.cpp index 5637db510c..bc5663f473 100644 --- a/ir_if_simplification.cpp +++ b/ir_if_simplification.cpp @@ -167,7 +167,10 @@ ir_if_simplification_visitor::visit(ir_function_signature *ir) void ir_if_simplification_visitor::visit(ir_function *ir) { - (void) ir; + foreach_iter(exec_list_iterator, iter, *ir) { + ir_function_signature *const sig = (ir_function_signature *) iter.get(); + sig->accept(this); + } } void -- cgit v1.2.3