summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-10-05 19:56:54 -0700
committerJason Ekstrand <[email protected]>2016-10-06 09:16:39 -0700
commitae032e5ea61dac3c63d74056174939e5ec091629 (patch)
tree86684d642726e12aff0914b62a74f8c4c30321b1 /src/compiler/nir/nir.h
parent2ed17d46de045404042f13c6591895a1cf31b167 (diff)
nir: Remove some no longer needed asserts
Now that the NIR casting functions have type assertions, we have a bunch of assertions that aren't needed anymore. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 8a9ccf28971..d6c8eface00 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2147,7 +2147,6 @@ nir_after_cf_node_and_phis(nir_cf_node *node)
return nir_after_block(nir_cf_node_as_block(node));
nir_block *block = nir_cf_node_as_block(nir_cf_node_next(node));
- assert(block->cf_node.type == nir_cf_node_block);
return nir_after_phis(block);
}