aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-03-09 11:14:35 -0700
committerIan Lance Taylor <iant@golang.org>2015-03-14 01:03:54 +0000
commitd6dfb0295b2c72cb65c1e03bcdb7fb2989fb1079 (patch)
treecc15c6893648af8d415e834be2df483ba8ad1c00 /src
parent23fd374bf22aa2eea9c07076061ef8cfbc6cf3d7 (diff)
downloadgo-d6dfb0295b2c72cb65c1e03bcdb7fb2989fb1079.tar.xz
cmd/internal/gc: remove unused fields
Change-Id: I3096a7497955bc475739739ee23be387e9162867 Reviewed-on: https://go-review.googlesource.com/7210 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/internal/gc/go.go2
-rw-r--r--src/cmd/internal/gc/syntax.go1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/internal/gc/go.go b/src/cmd/internal/gc/go.go
index e9412d1ff2..69dd4af15a 100644
--- a/src/cmd/internal/gc/go.go
+++ b/src/cmd/internal/gc/go.go
@@ -112,7 +112,6 @@ type Pkg struct {
type Sym struct {
Lexical uint16
Flags uint8
- Sym uint8 // huffman encoding in object file
Link *Sym
Uniqgen uint32
Importdef *Pkg // where imported definition was found
@@ -399,7 +398,6 @@ type Sig struct {
type Io struct {
infile string
bin *obj.Biobuf
- ilineno int32
nlsemi int
eofnl int
last int
diff --git a/src/cmd/internal/gc/syntax.go b/src/cmd/internal/gc/syntax.go
index 442cc5cbd8..ac7c28578b 100644
--- a/src/cmd/internal/gc/syntax.go
+++ b/src/cmd/internal/gc/syntax.go
@@ -27,7 +27,6 @@ type Node struct {
Nointerface bool
Ullman uint8 // sethi/ullman number
Addable uint8 // type of addressability - 0 is not addressable
- Trecur uint8 // to detect loops
Etype uint8 // op for OASOP, etype for OTYPE, exclam for export
Bounded bool // bounds check unnecessary
Class uint8 // PPARAM, PAUTO, PEXTERN, etc