]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: introduce //go:systemstack annotation
authorRuss Cox <rsc@golang.org>
Mon, 8 Jun 2015 01:45:39 +0000 (21:45 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 17 Jun 2015 14:23:00 +0000 (14:23 +0000)
commit08e25fc1ba397e02ec776561ed73b7f9a8b94392
tree5cfcfdf406d173039a1894ee61c6e99044389bff
parente3dc59f33d87f93a28a913ec56db25de3a654f0c
cmd/compile: introduce //go:systemstack annotation

//go:systemstack means that the function must run on the system stack.

Add one use in runtime as a demonstration.

Fixes #9174.

Change-Id: I8d4a509cb313541426157da703f1c022e964ace4
Reviewed-on: https://go-review.googlesource.com/10840
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/go.y
src/cmd/compile/internal/gc/lex.go
src/cmd/compile/internal/gc/pgen.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/gc/y.go
src/runtime/malloc.go