Browse Source

gallium: use unreachable instead of asserts

Avoids warnings in release builds.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
tags/12.0-branchpoint
Grazvydas Ignotas 9 years ago
parent
commit
dc732a8ef2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/auxiliary/gallivm/lp_bld_intr.c

+ 1
- 1
src/gallium/auxiliary/gallivm/lp_bld_intr.c View File

@@ -84,7 +84,7 @@ lp_format_intrinsic(char *name,
width = 64;
break;
default:
assert(0);
unreachable("unexpected LLVMTypeKind");
}

if (length) {

Loading…
Cancel
Save