diff options
author | Ian Romanick <[email protected]> | 2010-05-19 13:20:12 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-05-26 15:23:25 -0700 |
commit | c7b1046a9fa6da916f11fb9e43d61fd772470183 (patch) | |
tree | ccc8b84f24edbfa38b5eb2fe3c8610274a48b52c /ir_print_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_print_visitor.h')
-rw-r--r-- | ir_print_visitor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ir_print_visitor.h b/ir_print_visitor.h index aeee538df29..4af508794bd 100644 --- a/ir_print_visitor.h +++ b/ir_print_visitor.h @@ -61,7 +61,9 @@ public: virtual void visit(ir_function *); virtual void visit(ir_expression *); virtual void visit(ir_swizzle *); - virtual void visit(ir_dereference *); + virtual void visit(ir_dereference_variable *); + virtual void visit(ir_dereference_array *); + virtual void visit(ir_dereference_record *); virtual void visit(ir_assignment *); virtual void visit(ir_constant *); virtual void visit(ir_call *); |