ir_constant_visitor: Type of constant result is same as original expression
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Jun 2010 23:23:52 +0000 (16:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 12 Jun 2010 00:12:12 +0000 (17:12 -0700)
commitf8b88bea0fc45be02b7786efe46e941c2f6c8b5d
treec29d7494679cdd3a3fb67d1f3dd3576c99b0bada
parent083d75a9428cb5231a26ffbdff856a3a94b49dcc
ir_constant_visitor: Type of constant result is same as original expression

The type of the resulting constant must be the same as the type of the
original expression.  The changes to the code require that the case
where an unhandled expression is received, and there really shouldn't
be any of these, must be an exit point.
ir_constant_expression.cpp