Moved noreturn call to end of noreturn function

This commit is contained in:
Nobuyoshi Nakada 2020-04-16 18:02:11 +09:00
parent d4215dafea
commit 693378f105
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

2
gc.c
View File

@ -9573,10 +9573,10 @@ gc_raise(VALUE exc, const char *fmt, ...)
/* Not in a ruby thread */
fprintf(stderr, "%s", "[FATAL] ");
vfprintf(stderr, fmt, ap);
abort();
}
va_end(ap);
abort();
}
static void objspace_xfree(rb_objspace_t *objspace, void *ptr, size_t size);