Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
various cleanup, deleting unused code
R=ken2
CC=golang-dev
http://codereview.appspot.com/1663041
|
|
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
|
|
getting close.
R=rsc
CC=golang-dev
http://codereview.appspot.com/224105
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/199046
|
|
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>
|
|
R=rsc
http://codereview.appspot.com/164095
Committer: Russ Cox <rsc@golang.org>
|
|
R=ken@golang.org
CC=r
http://go/go-review/1018019
|
|
R=ken
OCL=35902
CL=35904
|
|
also eliminate float80 dregs
R=ken
OCL=35894
CL=35896
|
|
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
|
|
R=ken
OCL=34859
CL=34865
|
|
R=ken
OCL=34657
CL=34657
|
|
fix some bugs involving _.
R=ken
OCL=34621
CL=34621
|
|
R=ken
OCL=34465
CL=34470
|
|
plateau - more to come
R=rsc
OCL=34413
CL=34413
|
|
still to do:
* initializer cycle detection
* nicer error for type checking cycles
R=ken
OCL=32855
CL=32880
|
|
R=ken
OCL=32772
CL=32772
|
|
collapse a lot of duplication in dcl.c
switch to NodeList* from Dcl*
R=ken
OCL=32770
CL=32770
|
|
R=ken
OCL=32750
CL=32753
|
|
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
|
|
labeled break/continue was using
first loop with any label,
not first loop with the right label.
R=ken
OCL=32453
CL=32458
|
|
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
|
|
structs and arrays are done
slices and maps are yet to do
R=r
OCL=28977
CL=28977
|
|
R=ken
OCL=28314
CL=28314
|
|
1. dont clear external and heap objects
2. propagate constant assignment
R=r
OCL=28254
CL=28254
|
|
R=ken
OCL=26929
CL=26929
|