diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-19 13:20:12 +0200 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-26 15:23:25 -0700 |
commit | c7b1046a9fa6da916f11fb9e43d61fd772470183 (patch) | |
tree | ccc8b84f24edbfa38b5eb2fe3c8610274a48b52c /ir_visitor.h | |
parent | f3a002b503542fe2544025c6a42d552fdc4907c2 (diff) |
Refactor ir_dereference support for ir_visitor
Move the accept method for visitors from ir_dereference to the derived
classes.
Diffstat (limited to 'ir_visitor.h')
-rw-r--r-- | ir_visitor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ir_visitor.h b/ir_visitor.h index 579eee701d..ba30858fe6 100644 --- a/ir_visitor.h +++ b/ir_visitor.h @@ -49,7 +49,9 @@ public: virtual void visit(class ir_function *) = 0; virtual void visit(class ir_expression *) = 0; virtual void visit(class ir_swizzle *) = 0; - virtual void visit(class ir_dereference *) = 0; + virtual void visit(class ir_dereference_variable *) = 0; + virtual void visit(class ir_dereference_array *) = 0; + virtual void visit(class ir_dereference_record *) = 0; virtual void visit(class ir_assignment *) = 0; virtual void visit(class ir_constant *) = 0; virtual void visit(class ir_call *) = 0; |