summaryrefslogtreecommitdiff
path: root/src/cmd/gc/gen.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-65/+106
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+790
2011-09-13Imported Upstream version 60Ondřej Surý1-790/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-71/+143
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-4/+18
2011-06-16Imported Upstream version 57.2upstream/57.2Ondřej Surý1-0/+1
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-62/+95
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-10/+10
2010-06-14gc: no more ...Russ Cox1-3/+6
various cleanup, deleting unused code R=ken2 CC=golang-dev http://codereview.appspot.com/1663041
2010-05-20fix issue 798Ken Thompson1-0/+1
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev http://codereview.appspot.com/1202042
2010-03-02more on type complex.Ken Thompson1-0/+6
getting close. R=rsc CC=golang-dev http://codereview.appspot.com/224105
2010-02-01gc: final ...T bug for the dayRuss Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/199046
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+1
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-03gc: Allow allow data types up to 1GBChristopher Wedgwood1-1/+1
R=rsc http://codereview.appspot.com/164095 Committer: Russ Cox <rsc@golang.org>
2009-11-02do not emit USED for global x when compiling "_ = x;"Russ Cox1-1/+1
R=ken@golang.org CC=r http://go/go-review/1018019
2009-10-19bug136Russ Cox1-23/+7
R=ken OCL=35902 CL=35904
2009-10-19bug190.Russ Cox1-1/+0
also eliminate float80 dregs R=ken OCL=35894 CL=35896
2009-10-15rename sys functions to runtime,Russ Cox1-1/+1
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-09-21ideal bools and related fixesRuss Cox1-1/+2
R=ken OCL=34859 CL=34865
2009-09-15declared and not used; this time for sureRuss Cox1-4/+1
R=ken OCL=34657 CL=34657
2009-09-14declared and not used error, but disabled.Russ Cox1-3/+7
fix some bugs involving _. R=ken OCL=34621 CL=34621
2009-09-08write-only variable _Russ Cox1-0/+59
R=ken OCL=34465 CL=34470
2009-09-05composit literalsKen Thompson1-3/+2
plateau - more to come R=rsc OCL=34413 CL=34413
2009-08-07forward declarations not necessary.Russ Cox1-2/+104
still to do: * initializer cycle detection * nicer error for type checking cycles R=ken OCL=32855 CL=32880
2009-08-05delay := processingRuss Cox1-1/+3
R=ken OCL=32772 CL=32772
2009-08-04make Syms smaller.Russ Cox1-8/+4
collapse a lot of duplication in dcl.c switch to NodeList* from Dcl* R=ken OCL=32770 CL=32770
2009-08-04delayed evaluation of var blocksRuss Cox1-4/+5
R=ken OCL=32750 CL=32753
2009-07-30typechecking checkpoint.Russ Cox1-3/+3
started to move typechecking to another file. can build entire tree still, but lots of work is duplicated. much to clean up. R=ken OCL=32536 CL=32543
2009-07-29break and continue fixesRuss Cox1-28/+27
labeled break/continue was using first loop with any label, not first loop with the right label. R=ken OCL=32453 CL=32458
2009-07-17another step toward eliminating forward declarations.Russ Cox1-22/+21
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-05-17static initialization with DATA statementsKen Thompson1-0/+2
structs and arrays are done slices and maps are yet to do R=r OCL=28977 CL=28977
2009-05-056g bug: was dropping assignment of nil to globalsRuss Cox1-4/+7
R=ken OCL=28314 CL=28314
2009-05-04more code optimizationKen Thompson1-0/+6
1. dont clear external and heap objects 2. propagate constant assignment R=r OCL=28254 CL=28254
2009-03-30move portable code generation (basic statements) to gc.Russ Cox1-0/+505
R=ken OCL=26929 CL=26929