Skip to content

Commit e54364a

Browse files
committed
atg. quiet down more
1 parent c2103fa commit e54364a

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

pkg/compiler/prelude/chan.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -688,19 +688,19 @@ table.insert(__all_coro, scheduler_co)
688688
__coro2notes[scheduler_co]={__loc=#__all_coro, __name="scheduler"}
689689

690690
__resume_scheduler = function()
691-
print("__task.resume_scheduler called! scheduler_co is: "..__costring(scheduler_co))
692-
__st(scheduler_co, "scheduler_co")
691+
--print("__task.resume_scheduler called! scheduler_co is: "..__costring(scheduler_co))
692+
--__st(scheduler_co, "scheduler_co")
693693

694694
-- if scheduler is already running, this should be a no-op;
695695
-- Lua won't let us resume a 'normal' state coroutine anyway.
696696
if coroutine.status(scheduler_co) == "normal" then
697697

698698
local co, isMain = coroutine.running()
699-
print("__task.resume_scheduler called! current coro is: ", __costring(co), " isMain:"..tostring(isMain))
700-
__showco()
701-
__stacks()
699+
--print("__task.resume_scheduler called! current coro is: ", __costring(co), " isMain:"..tostring(isMain))
700+
--__showco()
701+
--__stacks()
702702

703-
print("warning: __resume_scheduler() no-op: scheduler is in normal, returning early instead")
703+
--print("warning: __resume_scheduler() no-op: scheduler is in normal, returning early instead")
704704
--print(debug.traceback("__resume_scheduler: scheduler is in normal"))
705705
--return true, coroutine.yield()
706706
return false

pkg/compiler/prelude/tsys.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -3283,7 +3283,7 @@ end
32833283
__eval_next_count = 1
32843284

32853285
__eval = function(code)
3286-
print("__eval called with code: '"..code.."'")
3286+
--print("__eval called with code: '"..code.."'")
32873287

32883288
-- since an eval of a receive/select may be blocking, we
32893289
-- need to start each new bit of code at the repl

0 commit comments

Comments
 (0)