summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_visitor.h')
-rw-r--r--src/glsl/ir_visitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_visitor.h b/src/glsl/ir_visitor.h
index 7dd35fe1dc3..4a00155be2f 100644
--- a/src/glsl/ir_visitor.h
+++ b/src/glsl/ir_visitor.h
@@ -44,6 +44,7 @@ public:
* the hierarchy should not have \c visit methods.
*/
/*@{*/
+ virtual void visit(class ir_rvalue *) { assert(!"unhandled error_type"); }
virtual void visit(class ir_variable *) = 0;
virtual void visit(class ir_function_signature *) = 0;
virtual void visit(class ir_function *) = 0;