]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: document regalloc fields
authorKeith Randall <khr@google.com>
Mon, 24 Sep 2018 19:26:58 +0000 (12:26 -0700)
committerKeith Randall <khr@golang.org>
Mon, 24 Sep 2018 19:55:51 +0000 (19:55 +0000)
commitf493e557232e223e313b4641d12e502c69bfe632
tree5c11b8d0094a9b861151e09f41af45c2f18007d3
parentfdceb2a11bb767ddaa334cb39315ae6982b676aa
cmd/compile: document regalloc fields

Document what the fields of regalloc mean.
Hopefully will help people understand how the register allocator works.

Change-Id: Ic322ed2019cc839b812740afe8cd2cf0b61da046
Reviewed-on: https://go-review.googlesource.com/137016
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ssa/gen/main.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/regalloc.go