summaryrefslogtreecommitdiff
path: root/src/cmd/gc/reflect.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-64/+314
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-0/+2
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-104/+113
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+939
2011-09-13Imported Upstream version 60Ondřej Surý1-939/+0
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-34/+53
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-31/+34
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-2/+31
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-7/+0
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-48/+68
2010-06-27optimization of static initializationKen Thompson1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1677049
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-13/+19
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-06-14gc: no more ...Russ Cox1-1/+1
various cleanup, deleting unused code R=ken2 CC=golang-dev http://codereview.appspot.com/1663041
2010-02-17new types complex, complex64 and complex128Ken Thompson1-5/+8
only front-end compiler work. best to do thin in 3 steps 1. frontend 2. backend 3. lib R=rsc CC=golang-dev http://codereview.appspot.com/214042
2010-02-01gc: ... T corner casesRuss Cox1-0/+1
more to come, but should suffice for Printf work. R=ken2 CC=golang-dev http://codereview.appspot.com/197044
2010-02-01gc: add ... T, rework plain ...Russ Cox1-7/+7
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox1-33/+38
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 http://codereview.appspot.com/194053
2010-01-24gc: record full package paths in runtime type dataRuss Cox1-7/+47
detect compilation of special package runtime with compiler flag instead of package name. R=ken2 CC=golang-dev http://codereview.appspot.com/193080
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-15/+29
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 http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox1-1/+1
reported by erik quanstrom. R=ken2 http://codereview.appspot.com/181071
2009-12-18gc: method expressions on concrete typesRuss Cox1-9/+9
R=ken2 http://codereview.appspot.com/180092
2009-12-04gc/runtime: pass type structure to makeslice.Russ Cox1-0/+111
* 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 http://codereview.appspot.com/165064
2009-10-19bug190.Russ Cox1-2/+1
also eliminate float80 dregs R=ken OCL=35894 CL=35896
2009-09-21ideal bools and related fixesRuss Cox1-3/+3
R=ken OCL=34859 CL=34865
2009-09-02the last bug involving type hashesRuss Cox1-3/+3
R=ken OCL=34244 CL=34249
2009-08-27clean up ideal handling; reject attemptsRuss Cox1-2/+11
to write type descriptors for ideal types R=ken OCL=33958 CL=33958
2009-08-136g/6l: add go type information to symbol table.Russ Cox1-2/+6
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
2009-08-12delete code for forward type declarationsRuss Cox1-4/+0
R=ken OCL=33108 CL=33113
2009-08-07forward declarations not necessary.Russ Cox1-0/+1
still to do: * initializer cycle detection * nicer error for type checking cycles R=ken OCL=32855 CL=32880
2009-08-04make Syms smaller.Russ Cox1-28/+19
collapse a lot of duplication in dcl.c switch to NodeList* from Dcl* R=ken OCL=32770 CL=32770
2009-07-28bug177: anonymous struct fields in reflectRuss Cox1-1/+1
(reported by iant) R=r DELTA=50 (32 added, 12 deleted, 6 changed) OCL=32263 CL=32385
2009-07-17another step toward eliminating forward declarations.Russ Cox1-4/+5
introduce NodeList* type in compiler to replace OLIST. this clarifies where lists can and cannot occur. list append and concatenation are now cheap. the _r rules are gone from yacc. rev and unrev are gone. no more lists of lists. the representation of assignments is a bit clunkier. split into OAS (1=1) and OAS2 (2 or more on one side). delete dead chanrecv3 code. delay construction of func types. R=ken OCL=31745 CL=31762
2009-07-07method expansion bugsRuss Cox1-2/+4
R=ken OCL=31310 CL=31310
2009-07-076g, 8g: generate data structures for new reflect interface (CL 31107)Russ Cox1-0/+692
R=ken OCL=31122 CL=31278