summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2016-04-16 04:00:16 +0300
committerIan Romanick <[email protected]>2016-04-25 12:23:34 +0200
commitdc732a8ef29dd2308a435cb7827c00be6d37fb5b (patch)
treee616d3be169e664f1aaac980dc94f69c9fd7273f /src/gallium
parentd14778656bf818bfb58b8a0ed2c2037b80d91ccb (diff)
gallium: use unreachable instead of asserts
Avoids warnings in release builds. Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c
index e153389e6a9..f806503038d 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_intr.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.c
@@ -84,7 +84,7 @@ lp_format_intrinsic(char *name,
width = 64;
break;
default:
- assert(0);
+ unreachable("unexpected LLVMTypeKind");
}
if (length) {