summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 44ffdc554e..a286e7b932 100644
--- a/ir.h
+++ b/ir.h
@@ -775,6 +775,13 @@ public:
/* empty */
}
+ virtual void accept(ir_visitor *v)
+ {
+ v->visit(this);
+ }
+
+ virtual ir_visitor_status accept(ir_hierarchical_visitor *);
+
/**
* Return a string representing the ir_texture_opcode.
*/