From 6386f57512aaf971a05039f6da60f6ffdaba48df Mon Sep 17 00:00:00 2001 From: Anthony Cook Date: Mon, 22 Jun 2026 16:57:28 -0500 Subject: [PATCH 1/3] Fix: Correct arity of yield to GC --- kernel/daoProcess.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/daoProcess.c b/kernel/daoProcess.c index 6e7c61d2..71c8c210 100644 --- a/kernel/daoProcess.c +++ b/kernel/daoProcess.c @@ -2737,7 +2737,7 @@ int DaoProcess_Start( DaoProcess *self ) if( self->thread->vmstop ) goto FinishProcess; if( self->thread->vmpause ) DaoProcess_PauseThread( self ); #endif - if( (++count) % 1000 == 0 ) DaoGC_TryInvoke( self ); + if( (++count) % 1000 == 0 ) DaoGC_TryInvoke(); if( self->exceptions->size > exceptCount ){ if( self->debugging ) goto AbortProcess; goto FinishCall; @@ -2781,7 +2781,7 @@ int DaoProcess_Start( DaoProcess *self ) self->status = status; } DaoProcess_PopFrame( self ); - DaoGC_TryInvoke( self ); + DaoGC_TryInvoke(); goto CallEntry; FinishProcess: @@ -2818,7 +2818,7 @@ int DaoProcess_Start( DaoProcess *self ) */ if( active == 0 && self->active ) DaoProcess_MarkActiveTasklet( self, 0 ); #endif - DaoGC_TryInvoke( self ); + DaoGC_TryInvoke(); self->startFrame = startFrame; self->depth -= 1; return 0; @@ -2828,7 +2828,7 @@ int DaoProcess_Start( DaoProcess *self ) #ifdef DAO_WITH_CONCURRENT if( active == 0 && self->active ) DaoProcess_MarkActiveTasklet( self, 0 ); #endif - DaoGC_TryInvoke( self ); + DaoGC_TryInvoke(); self->startFrame = startFrame; self->depth -= 1; return 1; From e22a56b6f8d9c9f8503a3efcc9b95ff3bab3cd70 Mon Sep 17 00:00:00 2001 From: Anthony Cook Date: Mon, 22 Jun 2026 16:57:54 -0500 Subject: [PATCH 2/3] Fix: Insert missing ctype includes --- modules/profiler/dao_profiler.c | 1 + tools/daotest/source/daoTest.c | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/profiler/dao_profiler.c b/modules/profiler/dao_profiler.c index 2b648137..8e4a619d 100644 --- a/modules/profiler/dao_profiler.c +++ b/modules/profiler/dao_profiler.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "dao_profiler.h" diff --git a/tools/daotest/source/daoTest.c b/tools/daotest/source/daoTest.c index 5adaff79..0864930d 100644 --- a/tools/daotest/source/daoTest.c +++ b/tools/daotest/source/daoTest.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include"dao.h" #include"daoParser.h" From 582526d2ba68ef8d02afe9876a6e3b33e07cfa5f Mon Sep 17 00:00:00 2001 From: Anthony Cook Date: Mon, 22 Jun 2026 17:28:26 -0500 Subject: [PATCH 3/3] Add: Ignore generated build files --- .gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..78390ba6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +*.o +*.so +bin +lib +DaoMake.Objs +CacheFindReadLine-linux.dao +FindDao.dao +Makefile +modules/debugger/Makefile +modules/profiler/Makefile +modules/stream/Makefile +tests/Makefile +tools/daomake/Makefile +tools/daomake/bootstrap/daomake +tools/daotest/Makefile