An error occurred fetching the project authors.
- 10 Jan, 2012 1 commit
-
-
Luuk van Dijk authored
flag -l means: inlining on, -ll inline with early typecheck -l lazily typechecks imports on use and re-export, nicer for debugging -lm produces output suitable for errchk tests, repeated -mm... increases inl.c's verbosity export processed constants, instead of originals outparams get ->inlvar too, and initialized to zero fix shared rlist bug, that lead to typecheck messing up the patched tree properly handle non-method calls to methods T.meth(t, a...) removed embryonic code to handle closures in inlined bodies also inline calls inside closures (todo: move from phase 6b to 4) Fixes #2579. R=rsc CC=golang-dev https://golang.org/cl/5489106
-
- 15 Dec, 2011 1 commit
-
-
Russ Cox authored
For issue 680. R=ken2 CC=golang-dev https://golang.org/cl/5492046
-
- 14 Dec, 2011 1 commit
-
-
Luuk van Dijk authored
Cross- and intra package inlining of single assignments or return <expression>. Minus some hairy cases, currently including other calls, expressions with closures and ... arguments. R=rsc, rogpeppe, adg, gri CC=golang-dev https://golang.org/cl/5400043
-
- 12 Dec, 2011 2 commits
-
-
Lucio De Re authored
R=golang-dev, ality CC=golang-dev, rsc https://golang.org/cl/5467066
-
Russ Cox authored
Assume last colon introduces line number. Fixes #2543. R=ken2 CC=golang-dev https://golang.org/cl/5485047
-
- 09 Dec, 2011 3 commits
-
-
Russ Cox authored
R=lvd CC=golang-dev https://golang.org/cl/5480049
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5467049
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5444054
-
- 08 Dec, 2011 1 commit
-
-
Russ Cox authored
#define lint has special meaning to Bison; having a field named lint conflicts with that. R=ken2 CC=golang-dev https://golang.org/cl/5462044
-
- 07 Dec, 2011 1 commit
-
-
Rémy Oudompheng authored
The -w switch actually prints steps of the syntax tree walks while -W prints a summary before and after the walk. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5444049
-
- 05 Dec, 2011 1 commit
-
-
Luuk van Dijk authored
Includes minimal change to gcimporter to keep it working, R=rsc, gri CC=golang-dev https://golang.org/cl/5431046
-
- 02 Dec, 2011 1 commit
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5450067
-
- 09 Nov, 2011 2 commits
-
-
Russ Cox authored
Never lasts long. ««« original CL description gc: add GOEXPERIMENT=reorg This won't last long but may ease conversions. R=ken2 CC=golang-dev https://golang.org/cl/5375043 »»» R=ken2, ken CC=golang-dev https://golang.org/cl/5370043
-
Russ Cox authored
This won't last long but may ease conversions. R=ken2 CC=golang-dev https://golang.org/cl/5375043
-
- 07 Nov, 2011 1 commit
-
-
Ron Minnich authored
Use HEADER_IO macro from gopack to read archive header The HEADER_IO macro portably reads archive headers. The current arsize code fails in the case of archive headers produced on plan 9 6c and read on other systems (it's not portable). Modify lex.c to use the portable macro Build tested (including tests) on OSX. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5323072
-
- 02 Nov, 2011 4 commits
-
-
David Symonds authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5323070
-
Russ Cox authored
I promised it wouldn't last very long. People who really need this can sync to 6a5647d82728. ««« original CL description gc: add GOEXPERIMENT=os.Error This won't last long, I promise. R=ken2 CC=golang-dev https://golang.org/cl/5330066 »»» R=ken2 CC=golang-dev https://golang.org/cl/5333053
-
Russ Cox authored
This won't last long, I promise. R=ken2 CC=golang-dev https://golang.org/cl/5330066
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/5331043
-
- 31 Oct, 2011 1 commit
-
-
Luuk van Dijk authored
Got rid of all the magic mystery globals. Now for %N, %T, and %S, the flags +,- and # set a sticky debug, sym and export mode, only visible in the new fmt.c. Default is error mode. Handle h and l flags consistently with the least side effects, so we can now change things without worrying about unrelated things breaking. fixes #2361 R=rsc CC=golang-dev https://golang.org/cl/5316043
-
- 26 Oct, 2011 2 commits
-
-
Mikio Hara authored
R=lvd CC=golang-dev https://golang.org/cl/5314060
-
Russ Cox authored
R=ken, r CC=golang-dev https://golang.org/cl/5293046
-
- 18 Oct, 2011 2 commits
-
-
Russ Cox authored
There is no semantic change here, just better errors. If a function says it takes a byte, and you pass it an int, the compiler error now says that you need a byte, not that you need a uint8. Groundwork for rune. R=ken2 CC=golang-dev https://golang.org/cl/5300042
-
Russ Cox authored
The old m[x] = 0, false syntax will be deleted in a month or so, once people have had time to change their code (there is a gofix in a separate CL). R=ken2 CC=golang-dev https://golang.org/cl/5265048
-
- 08 Oct, 2011 1 commit
-
-
Luuk van Dijk authored
string literals used as package qualifiers are now prefixed with '@' which obviates the need for the extra ':' before tags. R=rsc, gri, lvd CC=golang-dev https://golang.org/cl/5129057
-
- 07 Sep, 2011 1 commit
-
-
Russ Cox authored
The linker would catch them if gc succeeded, but too often the cycle manifests as making the current package and the imported copy of itself appear as different packages, which result in type signature mismatches that confuse users. As a crutch, add the -p flag to say 'if you see an import of this package, give up early'. Results in messages like (during gotest in sort): export_test.go:7: import "sort" while compiling that package (import cycle) export_test.go:7: import "container/heap": package depends on "sort" (import cycle) Fixes #2042. R=ken CC=bradfitz, dsymonds, golang-dev https://golang.org/cl/4972057
-
- 29 Aug, 2011 1 commit
-
-
Lucio De Re authored
gc/bits.c . improved format with associated cast; gc/closure.c gc/dcl.c gc/range.c gc/reflect.c gc/sinit.c . dropped unnecessary assignments; gc/gen.c . dropped unnecessary assignment; . added static qualifier to local function definition; gc/go.h . added varargck pragmas; gc/lex.c . used {} instead of ; in if statement to suppress warning; . replaced exit(0) with exits(0); . added compilation conditions for SIGBUS/SIGSEGV; . dropped unnecessary assignment; gc/mparith2.c . dropped four unnecessary assignments/initialisations; gc/obj.c . added type cast to local pointer; gc/pgen.c . added cast and related print format; gc/subr.c . replaced exit(1) with exits("error"); . replaced unlink() with remove(); . renamed local cistrmp() as ucistrmp() to remove conflict with Plan 9 function by the same name; gc/swt.c . added braces instead of ; as empty statment; gc/typecheck.c . added static qualifier to local function definition; . dropped unnecessary assignments; gc/walk.c . dropped unnecessary assignments; . added static qualifier to local function definitions; R=rsc CC=golang-dev https://golang.org/cl/4964046
-
- 28 Aug, 2011 1 commit
-
-
Russ Cox authored
-s now means *disable* escape analysis. Fix escape leaks for struct/slice/map literals. Add ... tracking. Rewrite new(T) and slice literal into stack allocation when safe. Add annotations to reflect. Reflect is too chummy with the compiler, so changes like these affect it more than they should. R=lvd, dave, gustavo CC=golang-dev https://golang.org/cl/4954043
-
- 25 Aug, 2011 2 commits
-
-
Russ Cox authored
#include "go.h" (or "gg.h") becomes #include <u.h> #include <libc.h> #include "go.h" so that go.y can #include <stdio.h> after <u.h> but before "go.h". This is necessary on Plan 9. R=ken2 CC=golang-dev https://golang.org/cl/4971041
-
Russ Cox authored
Found with gcc 4.6 -Wunused -Wextra but should be applicable to Plan 9 too. R=ken2 CC=golang-dev https://golang.org/cl/4958044
-
- 24 Aug, 2011 2 commits
-
-
Luuk van Dijk authored
For now it's switch-on-and-offable with -s, and the effects can be inspected with -m. Defaults are the old codepaths. R=rsc CC=golang-dev https://golang.org/cl/4634073
-
Russ Cox authored
Some compilers care, sadly. R=iant, ken CC=golang-dev https://golang.org/cl/4931042
-
- 22 Aug, 2011 1 commit
-
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4921045
-
- 28 Jul, 2011 1 commit
-
-
Russ Cox authored
Fixes #1910. Fixes #1979. Fixes #1990. Fixes #1993. Fixes #2089. R=ken2 CC=golang-dev https://golang.org/cl/4828046
-
- 27 Jul, 2011 3 commits
-
-
Russ Cox authored
Fixes #2055. R=ken2 CC=golang-dev https://golang.org/cl/4816059
-
Russ Cox authored
Fixes #1662. R=ken2 CC=golang-dev https://golang.org/cl/4828045
-
Russ Cox authored
Fixes #1192. R=ken2 CC=golang-dev https://golang.org/cl/4794062
-
- 17 Jun, 2011 1 commit
-
-
Russ Cox authored
Remove now-unnecessary zeroing of stack frames. R=ken2 CC=golang-dev https://golang.org/cl/4641044
-
- 07 Jun, 2011 1 commit
-
-
Caine Tighe authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4564048
-
- 03 Jun, 2011 1 commit
-
-
Luuk van Dijk authored
also inlined a typechecking function in dcl away. R=rsc CC=golang-dev https://golang.org/cl/4550115
-