cmd/internal/gc: make Node.Readonly a bool

Convert Node.Readonly to a bool.

Change-Id: Ide9f6f657f498d70d7b9544a38046325d7c82dc8
Reviewed-on: https://go-review.googlesource.com/6809
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Dave Cheney 2015-03-05 17:44:02 +11:00
parent 4b6337813d
commit 4a174ee4be
3 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ type Node struct {
Initorder uint8
Used uint8
Isddd uint8
Readonly uint8
Readonly bool
Implicit uint8
Addrtaken uint8 // address taken, even if not moved to heap
Assigned uint8 // is the variable ever assigned to