mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
runtime (gc): scan callee-saved registers while marking stack
This commit is contained in:
@@ -27,3 +27,9 @@ type state struct{}
|
||||
func (t *Task) Resume() {
|
||||
runtimePanic("scheduler is disabled")
|
||||
}
|
||||
|
||||
// OnSystemStack returns whether the caller is running on the system stack.
|
||||
func OnSystemStack() bool {
|
||||
// This scheduler does not do any stack switching.
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user