Add Conway's Game of Life

This commit is contained in:
Justine Tunney committed 2020-11-18 08:26:03 -08:00
1 parent db33973e0a
commit dba7552c1e
22 files changed
+664 -186

No files matched your search

-1
View File
@@ -33,7 +33,6 @@ relegated noreturn void die(void) {
if (!once) {
once = true;
if (!IsTiny()) {
g_runstate |= RUNSTATE_BROKEN;
if (IsDebuggerPresent(false)) DebugBreak();
ShowBacktrace(STDERR_FILENO, NULL);
}
-1
View File
@@ -203,7 +203,6 @@ relegated void __oncrash(int sig, struct siginfo *si, ucontext_t *ctx) {
int gdbpid, err;
static bool once;
err = errno;
g_runstate |= RUNSTATE_BROKEN;
if (once) abort();
once = true;
/* TODO(jart): Needs translation for ucontext_t and possibly siginfo_t. */
-1
View File
@@ -53,7 +53,6 @@ void __ubsan_abort(const struct UbsanSourceLocation *loc,
} else {
abort();
}
g_runstate |= RUNSTATE_BROKEN;
if (IsDebuggerPresent(false)) DebugBreak();
__start_fatal(loc->file, loc->line);
fprintf(stderr, "%s\r\n", description);