]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/gc: remove unused exporter.nesting field
authorDave Cheney <dave@cheney.net>
Thu, 23 Mar 2017 04:05:31 +0000 (15:05 +1100)
committerDave Cheney <dave@cheney.net>
Thu, 23 Mar 2017 04:24:37 +0000 (04:24 +0000)
exporter.nesting was added in c7b9bd74 to mitigate #16369 which was
closed in ee272bbf. Remove the exporter.nesting field as it is now unused.

Change-Id: I07873d1a07d6a08b11994b817a1483ffc2f5e45f
Reviewed-on: https://go-review.googlesource.com/38490
Run-TryBot: Dave Cheney <dave@cheney.net>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/bexport.go

index 4e72cf3452d72812532489f1aebee8014727092c..bed200b57821962a92abe8ffa8d6efe3c5c83068 100644 (file)
@@ -183,9 +183,6 @@ type exporter struct {
        written int // bytes written
        indent  int // for p.trace
        trace   bool
-
-       // work-around for issue #16369 only
-       nesting int // amount of "nesting" of interface types
 }
 
 // export writes the exportlist for localpkg to out and returns the number of bytes written.