glsl2: Move constant_expression_value method to ir_rvalue.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Jul 2010 20:55:10 +0000 (13:55 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Jul 2010 00:10:05 +0000 (17:10 -0700)
commite340854115f2562109c91fa908ffe6628432f989
tree137cd12923a0b14ca6352c2188ae81e15d7f67f6
parente1acbfca322c4ac720707ec8d3fda08fab65a30b
glsl2: Move constant_expression_value method to ir_rvalue.

This prevents top-level callers from asking for the value of something
that is guaranteed not to have one.
src/glsl/ir.h
src/glsl/ir_constant_expression.cpp