summaryrefslogtreecommitdiff
path: root/ir_visitor.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-04-05 16:16:07 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-07 11:41:50 -0700
commitfad607a9be59056aecda50176b4d20a8b5319747 (patch)
tree1d2bd8f2e5137b54c64a6d8eab04cfe02369fcd4 /ir_visitor.h
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_visitor.h')
-rw-r--r--ir_visitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir_visitor.h b/ir_visitor.h
index 521b1c3d80..fab1a75d53 100644
--- a/ir_visitor.h
+++ b/ir_visitor.h
@@ -56,6 +56,7 @@ public:
virtual void visit(class ir_call *) = 0;
virtual void visit(class ir_return *) = 0;
virtual void visit(class ir_if *) = 0;
+ virtual void visit(class ir_loop *) = 0;
/*@}*/
};