nir: change asserts to unreachable in nir_type_conversion_op
authorTapani Pälli <tapani.palli@intel.com>
Tue, 10 Jan 2017 08:14:03 +0000 (10:14 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 11 Jan 2017 08:08:13 +0000 (10:08 +0200)
commitf97f93865012c5b271a5d3f81d4ea6f58d07c047
treeb916bcb3d14af07e7b799188c5c73a4fb4f68988
parenta9f497c6787cb8a609f0214c698b396ecbb8742d
nir: change asserts to unreachable in nir_type_conversion_op

this is to avoid following compilation error on Android:

   error: control may reach end of non-void function [-Werror,-Wreturn-type]

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/nir/nir.c