summaryrefslogtreecommitdiffstats
path: root/ir_function_inlining.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-04-21 12:30:22 -0700
committerIan Romanick <[email protected]>2010-04-21 15:36:36 -0700
commit9fa99f3b6c84fe927ba97e6584cd919f097a6c9a (patch)
tree453be040c7a1948bbb4d9eadbac8ad8ba8c887cd /ir_function_inlining.cpp
parentf96c52ba2e290e3ba5f14cd7f87ba5b4382a1785 (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.cpp5
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