- 18 Oct, 2011 1 commit
-
-
Russ Cox authored
Revert workaround in compiler and revert test for compiler workaround. Tested that the 386 build continues to fail if the gc change is made without the reflect change. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5312041
-
- 17 Oct, 2011 1 commit
-
-
Dmitriy Vyukov authored
Fixes #2376 R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5278048
-
- 31 Aug, 2011 1 commit
-
-
Russ Cox authored
Does as much as possible in data layout instead of during the init function. Handles var x = y; var y = z as a special case too, because it is so prevalent in package unicode (var Greek = _Greek; var _Greek = []...). Introduces InitPlan description of initialized data so that it can be traversed multiple times (for example, in the copy handler). Cuts package unicode's init function size by 8x. All that remains there is map initialization, which is on the chopping block too. Fixes sinit.go test case. Aggregate DATA instructions at end of object file. Checkpoint. More to come. R=ken2 CC=golang-dev https://golang.org/cl/4969051
-
- 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
-
- 25 Aug, 2011 1 commit
-
-
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
-
- 24 Aug, 2011 1 commit
-
-
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
-
- 21 Apr, 2011 1 commit
-
-
Russ Cox authored
go/types: update for export data format change reflect: require package qualifiers to match during interface check runtime: require package qualifiers to match during interface check test: fixed bug324, adapt to be silent Fixes #1550. Issue 1536 remains open. R=gri, ken2, r CC=golang-dev https://golang.org/cl/4442071
-
- 19 Apr, 2011 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4444049
-
- 14 Apr, 2011 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4406048
-
- 09 Apr, 2011 1 commit
-
-
Russ Cox authored
The ld time was dominated by symbol table processing, so * increase hash table size * emit fewer symbols in gc (just 1 per string, 1 per type) * add read-only lookup to avoid creating spurious symbols * add linked list to speed whole-table traversals Breaks dwarf generator (no idea why), so disable dwarf. Reduces time for 6l to link godoc by 25%. R=ken2 CC=golang-dev https://golang.org/cl/4383047
-
- 07 Mar, 2011 1 commit
-
-
Russ Cox authored
Change unsafe.Pointer to be its own kind of type, instead of making it equivalent to *any. The change complicates import and export but avoids the need to find all the places that operate on pointers but should not operate on unsafe.Pointer. Fixes #1566. (a different way) Fixes #1582. R=ken2 CC=golang-dev https://golang.org/cl/4264050
-
- 03 Mar, 2011 1 commit
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4245055
-
- 24 Feb, 2011 1 commit
-
-
Russ Cox authored
The pointer will eventually let us find *T given T. This CL just makes room for it, always storing a zero. R=r, r2 CC=golang-dev https://golang.org/cl/4221046
-
- 20 Jan, 2011 1 commit
-
-
Russ Cox authored
rename cmplx -> complex R=ken2 CC=golang-dev https://golang.org/cl/4071041
-
- 13 Dec, 2010 2 commits
-
-
Russ Cox authored
No semantic changes here, but working toward being able to align structs based on the maximum alignment of the fields inside instead of having a fixed alignment for all structs (issue 482). R=ken2 CC=golang-dev https://golang.org/cl/3617041
-
Russ Cox authored
Fixes #1169. R=ken2 CC=golang-dev https://golang.org/cl/3595043
-
- 05 Oct, 2010 1 commit
-
-
Luuk van Dijk authored
R=rsc, ken2, r CC=golang-dev https://golang.org/cl/2355043
-
- 30 Sep, 2010 1 commit
-
-
Russ Cox authored
Implies no embedding of pointer to interface value either. R=gri, iant, ken2, r, r2 CC=golang-dev https://golang.org/cl/2289041
-
- 28 Sep, 2010 1 commit
-
-
Russ Cox authored
Fixes #451. Fixes #770. R=ken2 CC=golang-dev https://golang.org/cl/2207045
-
- 27 Jul, 2010 1 commit
-
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1893042
-
- 26 Jul, 2010 1 commit
-
-
Russ Cox authored
Fixes #812. R=ken2 CC=golang-dev https://golang.org/cl/1904041
-
- 28 Jun, 2010 1 commit
-
-
Ken Thompson authored
R=rsc CC=golang-dev https://golang.org/cl/1677049
-
- 20 Jun, 2010 1 commit
-
-
Russ Cox authored
update other code to match. R=r CC=golang-dev https://golang.org/cl/1680044
-
- 14 Jun, 2010 1 commit
-
-
Russ Cox authored
various cleanup, deleting unused code R=ken2 CC=golang-dev https://golang.org/cl/1663041
-
- 18 Feb, 2010 1 commit
-
-
Ken Thompson authored
only front-end compiler work. best to do thin in 3 steps 1. frontend 2. backend 3. lib R=rsc CC=golang-dev https://golang.org/cl/214042
-
- 01 Feb, 2010 2 commits
-
-
Russ Cox authored
more to come, but should suffice for Printf work. R=ken2 CC=golang-dev https://golang.org/cl/197044
-
Russ Cox authored
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev https://golang.org/cl/197042
-
- 26 Jan, 2010 1 commit
-
-
Russ Cox authored
bonus: type switch now detects multiple uses of identical interface types. bonus: interface types are now order-independent, following the spec. R=ken2 CC=golang-dev https://golang.org/cl/194053
-
- 25 Jan, 2010 1 commit
-
-
Russ Cox authored
detect compilation of special package runtime with compiler flag instead of package name. R=ken2 CC=golang-dev https://golang.org/cl/193080
-
- 23 Jan, 2010 1 commit
-
-
Russ Cox authored
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev https://golang.org/cl/186263
-
- 27 Dec, 2009 1 commit
-
-
Russ Cox authored
reported by erik quanstrom. R=ken2 https://golang.org/cl/181071
-
- 19 Dec, 2009 1 commit
-
-
Russ Cox authored
R=ken2 https://golang.org/cl/180092
-
- 05 Dec, 2009 1 commit
-
-
Russ Cox authored
* inform garbage collector about memory with no pointers in it 1.9s gcc reverse-complement.c reverse-complement.go 4.5s / 3.5s original, with/without bounds checks 3.5s / 3.3s bounds check reduction 3.3s / 2.8s smarter garbage collector 2.6s / 2.3s assembler bytes.IndexByte 2.5s / 2.1s even smarter garbage collector (this CL) R=r https://golang.org/cl/165064
-
- 20 Oct, 2009 1 commit
-
-
Russ Cox authored
also eliminate float80 dregs R=ken OCL=35894 CL=35896
-
- 21 Sep, 2009 1 commit
-
-
Russ Cox authored
R=ken OCL=34859 CL=34865
-
- 02 Sep, 2009 1 commit
-
-
Russ Cox authored
R=ken OCL=34244 CL=34249
-
- 27 Aug, 2009 1 commit
-
-
Russ Cox authored
to write type descriptors for ideal types R=ken OCL=33958 CL=33958
-
- 13 Aug, 2009 1 commit
-
-
Russ Cox authored
archive size +70% binary size +30% old wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 1487922 Aug 13 13:21 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 995995 Aug 13 13:21 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg/ 9.5M /home/rsc/go/pkg/ wreck.mtv=; new wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 2014390 Aug 13 14:25 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 1268705 Aug 13 14:25 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg 16M /home/rsc/go/pkg wreck.mtv=; R=ken OCL=33217 CL=33220
-
- 12 Aug, 2009 1 commit
-
-
Russ Cox authored
R=ken OCL=33108 CL=33113
-
- 07 Aug, 2009 1 commit
-
-
Russ Cox authored
still to do: * initializer cycle detection * nicer error for type checking cycles R=ken OCL=32855 CL=32880
-