summaryrefslogtreecommitdiff
path: root/coroutine/copy/Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/copy/Context.h')
-rw-r--r--coroutine/copy/Context.h4
1 files changed, 3 insertions, 1 deletions
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);