- 10 Sep, 2015 3 commits
-
-
Todd Neal authored
Add line that was inadvertently removed. Change-Id: I99ebc1041e984e408ae5825836c28b9891d6043b Reviewed-on: https://go-review.googlesource.com/14470 Run-TryBot: Todd Neal <todd@tneal.org> Reviewed-by:
Keith Randall <khr@golang.org>
-
Todd Neal authored
Change-Id: Ieb9cddf8876bf8cd5ee1705d9210d22c3959e8cc Reviewed-on: https://go-review.googlesource.com/14329Reviewed-by:
Keith Randall <khr@golang.org> Run-TryBot: Todd Neal <todd@tneal.org>
-
Todd Neal authored
This matches existing behavior, see issue #2196 Change-Id: Ifa9359b7c821115389f337a57de355c5ec23be8f Reviewed-on: https://go-review.googlesource.com/14261Reviewed-by:
Keith Randall <khr@golang.org>
-
- 09 Sep, 2015 5 commits
-
-
David Chase authored
Added tree numbering data structure. Changed dominator query in CSE. Removed skip-for-too-big patch in CSE. Passes all.bash. Change-Id: I98d7c61b6015c81f5edab553615db17bc7a58d68 Reviewed-on: https://go-review.googlesource.com/14326Reviewed-by:
Keith Randall <khr@golang.org>
-
Keith Randall authored
Change-Id: I352c7b9aab053959bc74c15861339e1dbe545ddc Reviewed-on: https://go-review.googlesource.com/14404Reviewed-by:
David Chase <drchase@google.com>
-
Keith Randall authored
Evaluating args can overwrite arg area, so we can't write argsize and func until args are evaluated. Fixes test/recover.go, test/recover1.go, and test/fixedbugs/issue4066.go Change-Id: I862e4934ccdb8661431bcc3e1e93817ea834ea3f Reviewed-on: https://go-review.googlesource.com/14405Reviewed-by:
David Chase <drchase@google.com>
-
Keith Randall authored
Make sure that return blocks take a store as their control. Without this, code was getting inserted between the return and exit blocks. Use AEND to mark the end of code. The live variable analysis gets confused when routines end like: JMP earlier RET because the RET is unreachable. The RET was incorrectly added to the last basic block, rendering the JMP invisible to the CFG builder. Change-Id: I91b32c8b37075347243ff039b4e4385856fba7cd Reviewed-on: https://go-review.googlesource.com/14398Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com>
-
Keith Randall authored
Using the main package causes a binary to be generated. That binary clutters up git listings. Use a non-main package instead, so the results of a successful compilation are thrown away. Change-Id: I3ac91fd69ad297a5c0fe035c22fdef290b7dfbc4 Reviewed-on: https://go-review.googlesource.com/14399Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 08 Sep, 2015 17 commits
-
-
Keith Randall authored
Semi-regular merge of master into dev.ssa. Change-Id: I48aa17700096a14f2a20ad07491ebfcd7529f6d5
-
Shenghou Ma authored
Just a mechanical copy, no code changes. This is to reduce code difference when adding the mips64 port. Change-Id: Id06e975f414a7b09f4827167b30813b228a3bfaf Reviewed-on: https://go-review.googlesource.com/14324Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
Shenghou Ma authored
Just a mechanical copy with filename renames, no code changes. This is to reduce code difference when adding the mips64 port. Change-Id: Id06e975f414a7b09f4827167b30813b228a3bfae Reviewed-on: https://go-review.googlesource.com/14323Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
Michael Hudson-Doyle authored
Change-Id: I88fa0cc245a2141af04acced8716e08b1133abd1 Reviewed-on: https://go-review.googlesource.com/14350Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
Brad Fitzpatrick authored
Some commits made by Aram from his personal email address are actually copyright Oracle: a77fcb3f net: fix comment in sendFile b0e71f46 net: link with networking libraries when net package is in use 92e959a4 syscall, net: use sendfile on Solaris db8d5b76 net: try to fix setKeepAlivePeriod on Solaris fe5ef5c9 runtime, syscall: link Solaris binaries directly instead of using dlopen/dlsym 2b90c3e8 go/build: enable cgo by default on solaris/amd64 2d18ab75 doc/progs: disable cgo tests that use C.Stdout on Solaris 2230e9d2 misc/cgo: add various solaris build lines 649c7b6d net: add cgo support for Solaris 24396dae os/user: small fixes for Solaris 121489cb runtime/cgo: add cgo support for solaris/amd64 83b25d93 cmd/ld: make .rela and .rela.plt sections contiguous c94f1f79 runtime: always load address of libcFunc on Solaris e481aac0 cmd/6l: use .plt instead of .got on Solaris See bug for clarification. Fixes #12452 Change-Id: I0aeb1b46c0c7d09c5c736e383ecf40240d2cf85f Reviewed-on: https://go-review.googlesource.com/14380Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
Alexandru Moșoi authored
Change-Id: I28bc6373bb42d9abf4f179664dbaab8d514a6ab9 Reviewed-on: https://go-review.googlesource.com/14376Reviewed-by:
Keith Randall <khr@golang.org>
-
Rob Pike authored
Fixes #12288. For inclusion in the 1.5.1 release. Change-Id: I9354b7eaa76000498465c4a5cbab7246de9ecb7c Reviewed-on: https://go-review.googlesource.com/14382Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
Keith Randall authored
The after-defer test jumps to a deferreturn site. Some functions (those with infinite loops) have no deferreturn site. Add one so we have one to jump to. Change-Id: I505e7f3f888f5e7d03ca49a3477b41cf1f78eb8a Reviewed-on: https://go-review.googlesource.com/14349Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com>
-
Rob Pike authored
Change-Id: I2f05d0b62deb5d7d0886f6fc5af5e7b79792efba Reviewed-on: https://go-review.googlesource.com/14381Reviewed-by:
Rob Pike <r@golang.org>
-
Rob Pike authored
This version of quoting allows runes in category Zs, such as the ideographic space characters, to be passed through unquoted. Still to do (maybe): A way to access this from Printf. Updates #11511. Change-Id: I3bae84b1aa0bc1b885318d3f67c5f451099a2a5a Reviewed-on: https://go-review.googlesource.com/14184Reviewed-by:
Marcel van Lohuizen <mpvl@golang.org>
-
Marvin Stenger authored
Convert some fields of struct Type in go.go from uint8 to bool. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I0a6c53f8ee686839b5234010ee2de7ae3940d499 Reviewed-on: https://go-review.googlesource.com/14370 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Marvin Stenger authored
Convert Pkg.Imported, Pkg.Exported, Pkg.Direct from uint8/int8/int8 to bool. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I67a71f1186ff9737c03eca413f7d35d8a79ebc9b Reviewed-on: https://go-review.googlesource.com/14371 Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Todd Neal authored
Some of the test files were missing, so add them. Change-Id: Ifac248edf33e1e4ccd82355f596d74eab4ff01a2 Reviewed-on: https://go-review.googlesource.com/14328 Run-TryBot: Todd Neal <todd@tneal.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com>
-
Håvard Haugen authored
Passes go build -a -toolexec 'toolstash -cmp' std cmd. Change-Id: I804ee4252fa9be78cb277faf7f467e6c9cfdd4a6 Reviewed-on: https://go-review.googlesource.com/14319 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Marvin Stenger authored
Remove unused field Type.Siggen in go.go. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: Ia61fe65a226c913fbf4a11a71d7453c56aa46c0e Reviewed-on: https://go-review.googlesource.com/14372 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Dave Cheney <dave@cheney.net>
-
Håvard Haugen authored
Passes go build -a -toolexec 'toolstash -cmp' std. Change-Id: Ica62765d3c1ef052afed34da1b3ac3f80646cc55 Reviewed-on: https://go-review.googlesource.com/14318Reviewed-by:
Dave Cheney <dave@cheney.net> Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Dave Cheney authored
Convert Type.Broke from a uint8 to a boolean This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I44e7548c71b00467e36576bdf62933c42555a21a Reviewed-on: https://go-review.googlesource.com/14307 Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Håvard Haugen <havard.haugen@gmail.com> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
- 07 Sep, 2015 12 commits
-
-
Dave Cheney authored
Convert Label.Used to a boolean. Also move the field to the bottom of the struct to avoid padding. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: If09ee92f9d54dce807e7b862cf771005daed810d Reviewed-on: https://go-review.googlesource.com/14308 Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
VarDef declarations are getting in the way of rewriting load/store pairs into moves. This change fixes that, albeit in a really hacky way. Better options would be appreciated. Increases coverage during make.bash from 67% to 71%. Change-Id: I336e967687e2238c7d0d64e3b37132a731ad15c3 Reviewed-on: https://go-review.googlesource.com/14347Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com>
-
Michael Hudson-Doyle authored
Change-Id: Iccb0221bd9aef062d20798b952eaa09d9e60b902 Reviewed-on: https://go-review.googlesource.com/14345Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Todd Neal authored
Be more clear about the two conditions that we care about: 1) a block that performs a nil check (OpIsNonNil), which may be removed 2) a block that is the non-nil sucessor for an OpIsNonNil block Now we only care about removing nilchecks for two scenarios: - a type 1 block is dominated by a type 2 block for the same value - a block is both type 1 and type 2 for the same value Fixes math/big. Change-Id: I50018a4014830461ddfe2a2daf588468e4a8f0b4 Reviewed-on: https://go-review.googlesource.com/14325Reviewed-by:
Keith Randall <khr@golang.org>
-
Josh Bleecher Snyder authored
Now that the standard library tests are all passing, add the test directory tests. These contain a number of edge case tests that are of particular interest for compilers. Some kinds of tests are not well-suited for a new backend, such as errorcheck tests. To start, use SSA only for run and runoutput. There are three failing tests now. Just mark them as such for now, so that we can prevent regressions. This code will all be unwound once SSA codegen matures and becomes the default. Change-Id: Ic51e6d0cc1cd48ef1e2fe2c9a743bf0cce275200 Reviewed-on: https://go-review.googlesource.com/14344Reviewed-by:
Keith Randall <khr@golang.org> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Josh Bleecher Snyder authored
Change-Id: I1271c015e602cd7ec92bf24f019dd8839b3180fc Reviewed-on: https://go-review.googlesource.com/14346Reviewed-by:
Keith Randall <khr@golang.org>
-
Marvin Stenger authored
Nicer swaps, loops (removed tmp variables). Use of bool instead of int. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I541904c74b57297848decc51a8a4913a8eca4af3 Reviewed-on: https://go-review.googlesource.com/14316 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Josh Bleecher Snyder authored
Change-Id: I17c83f6552367d42d48c1ec62fbb494f010fd866 Reviewed-on: https://go-review.googlesource.com/14343 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by:
David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Michael Hudson-Doyle authored
When building a shared library, all functions that are declared must actually be defined. Change-Id: I1488690cecfb66e62d9fdb3b8d257a4dc31d202a Reviewed-on: https://go-review.googlesource.com/14187Reviewed-by:
Dave Cheney <dave@cheney.net>
-
Dave Cheney authored
Fix mkzversion to produce correctly formatted runtime/zversion.go. Change-Id: Ie6bcd361a2f2e390b7f6c4980fcae2c41bb7e52f Reviewed-on: https://go-review.googlesource.com/14355Reviewed-by:
Andrew Gerrand <adg@golang.org>
-
Josh Bleecher Snyder authored
Change-Id: I32953c4e1d82795bacba9eb94d65cd2e26bfeb87 Reviewed-on: https://go-review.googlesource.com/14339Reviewed-by:
Keith Randall <khr@golang.org> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
-
Josh Bleecher Snyder authored
Change-Id: Ifb6b2ad6078ad084b73c0e785e748e92139684e2 Reviewed-on: https://go-review.googlesource.com/14338Reviewed-by:
Keith Randall <khr@golang.org> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 06 Sep, 2015 3 commits
-
-
Dave Cheney authored
This one of a set of changes to make the transition away from NodeList easier by removing cases in which NodeList doesn't act semi-trivially like a []*Node. This CL was originally prepared by Josh Bleecher Snyder <josharian@gmail.com>. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I4d041b343952f4a31f3150fd70669e08fcaa74f8 Reviewed-on: https://go-review.googlesource.com/14305 Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
They are already handled by the frontend, we just need to skip them when we see them in ssa. Change-Id: I309d91552f96a761f8d429a2cab3a47d200ca9e5 Reviewed-on: https://go-review.googlesource.com/14341Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org>
-
Josh Bleecher Snyder authored
CL 14337 made SSA support fixedbugs/issue9604b.go. That test contains > 40k blocks. This made the O(n^2) dom algorithm fail to terminate in a reasonable length of time, breaking the build. For the moment, cap the number of blocks to fix the build. This will be reverted when a more efficient dom algorithm is put in place, which will be soon. Change-Id: Ia66c2629481d29d06655ec54d1deff076b0422c6 Reviewed-on: https://go-review.googlesource.com/14342Reviewed-by:
Josh Bleecher Snyder <josharian@gmail.com>
-