glsl: Fix cut-and-paste bug in hierarchical visitor ir_expression::accept
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Sep 2016 18:11:12 +0000 (11:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 27 Sep 2016 19:06:46 +0000 (12:06 -0700)
commitea6ed2379d43330152273caa87f93ea7a77ec9f7
treea8e6c8ad2996335208ab5fdc3f49557bc161e662
parent7f64041cee3101c673be6d7bffbb03dab69ccca4
glsl: Fix cut-and-paste bug in hierarchical visitor ir_expression::accept

At this point in the code, s must be visit_continue.  If the child
returned visit_stop, visit_stop is the only correct thing to return.

Found by inspection.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_hv_accept.cpp