Age | Commit message (Collapse) | Author | Files | Lines |
|
package main
var f = func(a, b int) int { return a + b }
R=ken
OCL=26935
CL=26935
|
|
signature generation) into gc.
R=ken
OCL=26933
CL=26933
|
|
R=ken
OCL=26930
CL=26930
|
|
R=ken
OCL=26929
CL=26929
|
|
int brcom(int);
int brrev(int);
void setmaxarg(Type*);
Sig* lsort(Sig*, int(*)(Sig*, Sig*));
int dotoffset(Node*, int*, Node**);
void stringpool(Node*);
void tempname(Node*, Type*);
R=ken
OCL=26922
CL=26922
|
|
R=ken
OCL=26914
CL=26914
|
|
unsafe.Alignof(struct{x float}{0}.x)
R=ken
OCL=26911
CL=26913
|
|
R=ken
OCL=26909
CL=26909
|
|
cope better with p4 not found.
R=r
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=26877
CL=26879
|
|
^ signed(const) becomes illegal
^ unsigned(const) becomes legal
R=r
OCL=26697
CL=26697
|
|
in favor of the lib9 compatibility layer. no need for two.
now that mycreate is gone, .6 files are 0644 not 0755.
TBR=r
OCL=26679
CL=26679
|
|
fixed bug 141
R=r
OCL=26627
CL=26627
|
|
also fix multiple-evaluation bug in range over arrays.
R=ken
OCL=26576
CL=26576
|
|
BUG=1722502
R=ken
OCL=26526
CL=26526
|
|
R=r
OCL=26480
CL=26480
|
|
R=r
OCL=26434
CL=26434
|
|
new feature 'case nil:' in type switch
will match iff the interface is nil.
R=r
OCL=26404
CL=26404
|
|
to allow room for type hash
needed for log-time type switch.
R=r
OCL=26354
CL=26354
|
|
close two more bugs.
R=ken
OCL=26226
CL=26226
|
|
various bug fixes and tests involving constants.
test/const1.go is the major new test case.
R=ken
OCL=26216
CL=26224
|
|
runtime not finished.
R=r
OCL=26217
CL=26217
|
|
R=r
OCL=26152
CL=26152
|
|
R=r
OCL=26146
CL=26146
|
|
if T has pointer methods. this is just a heuristic
but it catches the problem robert ran into and
lets me put the larger interface issues aside for
now. found one bug in pretty.
R=ken
OCL=26141
CL=26141
|
|
DIR.
R=ken,rsc
DELTA=49 (41 added, 2 deleted, 6 changed)
OCL=26057
CL=26092
|
|
R=r
OCL=26090
CL=26090
|
|
declared in cases and heap allocation
R=r
OCL=26064
CL=26064
|
|
R=r
OCL=25890
CL=25890
|
|
2. fixed fault on bug128
3. got rid of typeof
4. fixed bug in t,ok = I2T
R=r
OCL=25873
CL=25873
|
|
(renamed to avoid any conflict with old p4 copies).
this approach doesn't require auto-generating
files also kept in p4, so it should be easier on
go users who don't sync very often.
this approach will be more work for go developers:
builtin.c needs to be copied to builtin.c.boot in p4
as new functions are added. mkbuiltin does this
for certain $USERs to help us remember.
R=r
DELTA=343 (176 added, 162 deleted, 5 changed)
OCL=25803
CL=25805
|
|
R=ken
OCL=25787
CL=25791
|
|
in preparation of type switch.
no functional change (yet).
R=r
OCL=25784
CL=25788
|
|
R=ken
OCL=25720
CL=25720
|
|
R=ken
OCL=25705
CL=25705
|
|
R=ken
DELTA=131 (60 added, 41 deleted, 30 changed)
OCL=25617
CL=25633
|
|
R=r
OCL=25278
CL=25278
|
|
examples:
chan <- (chan int)
chan (<- chan int)
(map[string]func())("a": main)
R=ken
OCL=25151
CL=25151
|
|
R=rsc
OCL=25105
CL=25105
|
|
R=ken
OCL=25075
CL=25075
|
|
R=ken
OCL=25072
CL=25072
|
|
R=ken
OCL=25044
CL=25044
|
|
warn about composite literal { } syntax.
R=ken
OCL=25018
CL=25023
|
|
R=ken
OCL=24350
CL=24914
|
|
the lexer is already hiding names,
so this clumsy hack is no longer necessary.
R=ken
OCL=24783
CL=24783
|
|
R=ken
DELTA=20 (19 added, 0 deleted, 1 changed)
OCL=24719
CL=24771
|
|
the fix appears to be to align the
out struct on an 8 boundary, but that
is a bit involved.
R=ken
OCL=24657
CL=24657
|
|
change type (to satisfy OAS) after nodarg:
nodarg uses offset from type too,
and must use correct offset.
R=ken
OCL=24656
CL=24656
|
|
R=ken
DELTA=2 (2 added, 0 deleted, 0 changed)
OCL=24643
CL=24643
|
|
R=r
OCL=24639
CL=24639
|
|
R=ken
OCL=24501
CL=24566
|