Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
no types yet.
R=ken
OCL=33142
CL=33146
|
|
R=ken
OCL=33134
CL=33141
|
|
R=ken
OCL=33123
CL=33123
|
|
R=ken
OCL=33108
CL=33113
|
|
R=ken
OCL=33063
CL=33095
|
|
R=ken
OCL=33051
CL=33051
|
|
x.go:3: invalid indirect of X (type int)
was
x.go:3: invalid indirect of nil
R=ken
OCL=33008
CL=33008
|
|
2. moved functions from 6g to gc
for portability to other families.
3. added rotate-carry instructions to
peek and reg.
R=rsc
OCL=32946
CL=32946
|
|
still to do - overflow, mod
R=rsc
OCL=32927
CL=32927
|
|
R=ken
OCL=32902
CL=32914
|
|
R=ken
OCL=32900
CL=32900
|
|
R=ken
OCL=32890
CL=32894
|
|
R=ken
OCL=32888
CL=32888
|
|
R=ken
OCL=32887
CL=32887
|
|
R=ken
OCL=32886
CL=32886
|
|
disable func redeclaration mismatch test;
fix golden.out
R=ken
OCL=32883
CL=32883
|
|
still to do:
* initializer cycle detection
* nicer error for type checking cycles
R=ken
OCL=32855
CL=32880
|
|
R=ken
OCL=32780
CL=32780
|
|
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
|
|
and delete some dead code.
no actual changes here.
R=ken
OCL=32764
CL=32764
|
|
R=ken
OCL=32750
CL=32753
|
|
split into typecheck + walk
R=ken
OCL=32726
CL=32726
|
|
R=ken
OCL=32716
CL=32720
|
|
typecheck.c is now responsible for all type checking
except for assignment and function argument "..."
R=ken
OCL=32661
CL=32667
|
|
R=ken
OCL=32581
CL=32581
|
|
R=ken
OCL=32576
CL=32580
|
|
handled by typecheck.
second switch is gone
move floating point minus into back end
R=ken
OCL=32558
CL=32558
|
|
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
|
|
not complete but compiler still works.
R=ken
OCL=32424
CL=32426
|
|
R=ken
OCL=32421
CL=32421
|
|
R=ken
OCL=32419
CL=32419
|
|
so that == on func means that the
functions originated in the same
execution of a func literal or definition.
before, there was an inconsistency:
func() {x++} != func() {x++}
but
func() {} == func() {}
this CL makes the second case != too,
just like
make(map[int]int) != make(map[int]int)
R=r
DELTA=202 (71 added, 62 deleted, 69 changed)
OCL=32393
CL=32398
|
|
(reported by iant)
R=r
DELTA=50 (32 added, 12 deleted, 6 changed)
OCL=32263
CL=32385
|
|
R=ken
OCL=32261
CL=32261
|
|
R=ken
OCL=32255
CL=32255
|
|
R=ken
OCL=32253
CL=32253
|
|
R=ken
OCL=32252
CL=32252
|
|
R=ken
OCL=32244
CL=32244
|
|
a := true;
a |= a;
in the front end.
R=ken
OCL=32240
CL=32243
|
|
R=ken
OCL=32239
CL=32239
|
|
just like ONAME etc.
R=ken
OCL=31964
CL=31964
|
|
R=ken
OCL=31890
CL=31890
|
|
the n argument to strncat is the maximum
number of bytes to read from the src,
not the total size of the destination.
R=ken
OCL=31871
CL=31875
|
|
R=ken
OCL=31865
CL=31867
|
|
excluding import data,
no yacc node has type Type* anymore.
0 reduce/reduce conflicts.
R=ken
OCL=31793
CL=31795
|
|
consts in the same factored block
const (
X = Y;
Y = 2;
)
R=ken
OCL=31782
CL=31782
|
|
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
|