aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-22 19:38:17 +0100
committerEric Engestrom <[email protected]>2019-07-31 09:41:05 +0100
commitbbeb5075431efbee4e7193d8585647ad7d274faa (patch)
treebc2f22dedb3d7ae0316f45b759626b9d0bb9b7c1
parent7e2fe85a4062e73e907e32e971b190410440d488 (diff)
compiler/nir: add an ASSERTED
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/compiler/nir/nir_opt_vectorize.c2
1 files changed, 1 insertions, 1 deletions
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);
}