commit | 7c61d24f9738204688b1f4b880b0a8415d0833e3 | [log] [tgz] |
---|---|---|
author | HÃ¥vard Haugen <havard.haugen@gmail.com> | Sun Sep 13 23:57:28 2015 +0200 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Sep 16 00:25:04 2015 +0000 |
tree | c260c7d28ffaa36eae0dc3ed0254473fa5575df3 | |
parent | c1ad904bdbc214f78dc19753cd178166e7707a25 [diff] |
cmd/compile/internal/gc: remove dead code Found with https://github.com/remyoudompheng/go-misc/deadcode: deadcode: walk.go:2228:1: applywritebarrier_bv is unused deadcode: subr.go:355:1: gethunk is unused deadcode: subr.go:1991:1: localexpr is unused deadcode: dcl.go:82:1: poptodcl is unused deadcode: swt.go:810:1: dumpcase is unused deadcode: esc.go:251:1: satAdd8 is unused deadcode: esc.go:387:1: outputsPerTag is unused deadcode: obj.go:190:1: duint64 is unused deadcode: obj.go:287:1: dstringptr is unused deadcode: plive.go:95:1: xmalloc is unused deadcode: plive.go:119:1: freeblock is unused followed by deadcode: go.go:633:1: hunk is unused deadcode: go.go:635:1: nhunk is unused deadcode: go.go:637:1: thunk is unused after 'gethunk' was removed. Some dead code in bv.go, mparith3.go, and dcl.go was left as is. Passes go build -a -toolexec 'toolstash -cmp' std cmd. Change-Id: Ia63519adedc8650d7095572ddd454fd923d3204d Reviewed-on: https://go-review.googlesource.com/14610 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Please report issues here: https://golang.org/issue/new
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.