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.
This commit is contained in:

committed by
Ian Romanick

parent
e1acbfca32
commit
e340854115
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
|
||||
ir_constant *
|
||||
ir_instruction::constant_expression_value()
|
||||
ir_rvalue::constant_expression_value()
|
||||
{
|
||||
ir_constant_visitor visitor;
|
||||
|
||||
|
Reference in New Issue
Block a user