nir: Replace assert(0) with unreachable().
authorMatt Turner <mattst88@gmail.com>
Thu, 22 Jan 2015 04:22:18 +0000 (20:22 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 22 Jan 2015 05:06:37 +0000 (21:06 -0800)
commit28b7c6b28523f9a6786441bb0b86bf143b8a9b7c
tree698910730ae87210891effeb8ae7b2554ca618d2
parent6de077f01d3439c80c9392455d6ca7e7f4493632
nir: Replace assert(0) with unreachable().

Fixes a couple of warnings in the process.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_system_values.c
src/glsl/nir/nir_to_ssa.c