]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/gc: remove unused fields
authorMatthew Dempsky <mdempsky@google.com>
Mon, 9 Mar 2015 18:14:35 +0000 (11:14 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 14 Mar 2015 01:03:54 +0000 (01:03 +0000)
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>
src/cmd/internal/gc/go.go
src/cmd/internal/gc/syntax.go

index e9412d1ff270804c2c780db9871ca1b82763b970..69dd4af15adb3f149b2f9d02a01d1b38b24660f7 100644 (file)
@@ -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
index 442cc5cbd81beae20de9b56f5feaebaeea289799..ac7c28578b3cc053bff3eca66ecf5948538f2c03 100644 (file)
@@ -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