diff options
author | Kenneth Graunke <[email protected]> | 2010-04-21 12:30:22 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-04-21 15:36:36 -0700 |
commit | 9fa99f3b6c84fe927ba97e6584cd919f097a6c9a (patch) | |
tree | 453be040c7a1948bbb4d9eadbac8ad8ba8c887cd /ir_function_inlining.cpp | |
parent | f96c52ba2e290e3ba5f14cd7f87ba5b4382a1785 (diff) |
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.
Diffstat (limited to 'ir_function_inlining.cpp')
-rw-r--r-- | ir_function_inlining.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ir_function_inlining.cpp b/ir_function_inlining.cpp index af6a477d9b4..117b460ae5c 100644 --- a/ir_function_inlining.cpp +++ b/ir_function_inlining.cpp @@ -481,7 +481,10 @@ ir_function_inlining_visitor::visit(ir_function_signature *ir) void ir_function_inlining_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 |