mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
runtime (gc): scan callee-saved registers while marking stack
This commit is contained in:
@@ -95,3 +95,9 @@ func fake() {
|
||||
go func() {}()
|
||||
Pause()
|
||||
}
|
||||
|
||||
// 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