From 6751c9803695a2f12afb8f2cf080a4f9c2c8973a Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Fri, 9 Aug 2019 22:41:18 +0200 Subject: Utilize the constraints in assertions to improve code generation When compiling in release mode, instead of just deleting assertions, use them to give hints to the compiler. This allows for slightly better code generation in some cases. --- examples/dav1dplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/dav1dplay.c b/examples/dav1dplay.c index 1f418e2..faf51e7 100644 --- a/examples/dav1dplay.c +++ b/examples/dav1dplay.c @@ -27,14 +27,14 @@ #include "config.h" #include "vcs_version.h" -#include +#include #include +#include #include -#include -#include #include +#include "common/attributes.h" #include "dav1d/dav1d.h" -- cgit v1.2.3