microsoft/compiler: Fix warnings produced by GCC in release mode
authorJesse Natalie <jenatali@microsoft.com>
Mon, 28 Dec 2020 18:42:37 +0000 (10:42 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sun, 3 Jan 2021 23:07:21 +0000 (23:07 +0000)
commitbb6a1f5b1ec0141981ca31416cfb4e2d0e0e3697
tree19744166b5e3b0f4e5cf322902db149c6f33df41
parent33a6c01e12cca60903fb78af44ecca3899ad628f
microsoft/compiler: Fix warnings produced by GCC in release mode

Inline some variables/functions that are only used for asserts.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8248>
src/microsoft/compiler/dxil_module.c
src/microsoft/compiler/nir_to_dxil.c