runtime (gc): scan callee-saved registers while marking stack

This commit is contained in:
Jaden Weiss
2020-04-02 08:22:17 -04:00
committed by Ron Evans
parent cbaa58a2d9
commit 9f8715c143
8 changed files with 152 additions and 3 deletions
+6
View File
@@ -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
}