From dd0e33f0839124a910f4eb0bb67423e041036645 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Fri, 19 Jul 2019 15:53:47 +1200 Subject: [PATCH] Split assertions to check which one fails. --- coroutine/copy/Context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coroutine/copy/Context.h b/coroutine/copy/Context.h index 0b6e3a9be0..03ee80f0ec 100644 --- a/coroutine/copy/Context.h +++ b/coroutine/copy/Context.h @@ -64,7 +64,9 @@ static inline void coroutine_initialize( size_t size, void *base ) { - assert(start && stack && size >= 1024); + assert(start); + assert(stack); + assert(size >= 1024); coroutine_initialize_main(context, stack, size, base);