mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Split assertions to check which one fails.
This commit is contained in:
parent
cf93f98a60
commit
dd0e33f083
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ static inline void coroutine_initialize(
|
||||||
size_t size,
|
size_t size,
|
||||||
void *base
|
void *base
|
||||||
) {
|
) {
|
||||||
assert(start && stack && size >= 1024);
|
assert(start);
|
||||||
|
assert(stack);
|
||||||
|
assert(size >= 1024);
|
||||||
|
|
||||||
coroutine_initialize_main(context, stack, size, base);
|
coroutine_initialize_main(context, stack, size, base);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue