projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a5d5c
)
ir_constant_folding: Look at instructions in functions.
author
Eric Anholt
<eric@anholt.net>
Wed, 12 May 2010 19:15:40 +0000
(12:15 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 1 Jun 2010 22:15:04 +0000
(15:15 -0700)
This was broken in the ir_label -> ir_function rework.
ir_constant_folding.cpp
patch
|
blob
|
history
diff --git
a/ir_constant_folding.cpp
b/ir_constant_folding.cpp
index c7019ffc6262971e65c259a89c2db4066dfa5d3c..b3f27c80c859b7de26a6352f3233a4eefb301e66 100644
(file)
--- a/
ir_constant_folding.cpp
+++ b/
ir_constant_folding.cpp
@@
-91,7
+91,10
@@
ir_constant_folding_visitor::visit(ir_function_signature *ir)
void
ir_constant_folding_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