aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/ir_visitor.h')
-rw-r--r--mesalib/src/glsl/ir_visitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/glsl/ir_visitor.h b/mesalib/src/glsl/ir_visitor.h
index 7dd35fe1d..4a00155be 100644
--- a/mesalib/src/glsl/ir_visitor.h
+++ b/mesalib/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;