summaryrefslogtreecommitdiffstats
path: root/ir_constant_folding.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-04-05 16:16:07 -0700
committerIan Romanick <[email protected]>2010-04-07 11:41:50 -0700
commitfad607a9be59056aecda50176b4d20a8b5319747 (patch)
tree1d2bd8f2e5137b54c64a6d8eab04cfe02369fcd4 /ir_constant_folding.cpp
parentb94e402cffc1c1606d8d7375f38ab573877e1c6a (diff)
Add ir_loop to represent loops
This touches a lot of files because everything derived from ir_visitor has to be updated. This is the primary disadvantage of the visitor pattern.
Diffstat (limited to 'ir_constant_folding.cpp')
-rw-r--r--ir_constant_folding.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir_constant_folding.cpp b/ir_constant_folding.cpp
index af6674c3f6e..d7efdecc45f 100644
--- a/ir_constant_folding.cpp
+++ b/ir_constant_folding.cpp
@@ -145,3 +145,10 @@ ir_constant_folding_visitor::visit(ir_if *ir)
visit_exec_list(&ir->then_instructions, this);
visit_exec_list(&ir->else_instructions, this);
}
+
+
+void
+ir_constant_folding_visitor::visit(ir_loop *ir)
+{
+ (void) ir;
+}