summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_metadata.c')
-rw-r--r--src/compiler/nir/nir_metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_metadata.c b/src/compiler/nir/nir_metadata.c
index f71cf432b70..e681ba34f75 100644
--- a/src/compiler/nir/nir_metadata.c
+++ b/src/compiler/nir/nir_metadata.c
@@ -59,7 +59,7 @@ nir_metadata_preserve(nir_function_impl *impl, nir_metadata preserved)
impl->valid_metadata &= preserved;
}
-#ifdef DEBUG
+#ifndef NDEBUG
/**
* Make sure passes properly invalidate metadata (part 1).
*