From bbeb5075431efbee4e7193d8585647ad7d274faa Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 22 Jun 2019 19:38:17 +0100 Subject: [PATCH] compiler/nir: add an ASSERTED Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/compiler/nir/nir_opt_vectorize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_opt_vectorize.c b/src/compiler/nir/nir_opt_vectorize.c index dab7c2e1dad..a3681610a59 100644 --- a/src/compiler/nir/nir_opt_vectorize.c +++ b/src/compiler/nir/nir_opt_vectorize.c @@ -335,7 +335,7 @@ vec_instr_stack_push(struct util_dynarray *stack, nir_instr *instr) static void vec_instr_stack_pop(struct util_dynarray *stack, nir_instr *instr) { - nir_instr *last = util_dynarray_pop(stack, nir_instr *); + ASSERTED nir_instr *last = util_dynarray_pop(stack, nir_instr *); assert(last == instr); } -- 2.30.2