r600g/sb: fix broken assert

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
Vadim Girlin
2013-05-31 17:35:30 +04:00
parent 5ea43e6549
commit eb4c992ea5

View File

@@ -467,7 +467,7 @@ bool expr_handler::fold_alu_op2(alu_node& n) {
value* v0 = n.src[0]->gvalue();
value* v1 = n.src[1]->gvalue();
assert(v0 && v1 && n.dst[0]);
assert(v0 && v1);
bool isc0 = v0->is_const();
bool isc1 = v1->is_const();