Age | Commit message (Collapse) | Author | Files | Lines |
|
R=ken2
http://codereview.appspot.com/157114
|
|
* add runtime sliceslice1 for x[lo:]
* remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)].
* port cgen_inline into 8g, 5g.
* use native memmove in maps
R=ken2
http://codereview.appspot.com/157106
|
|
R=rsc
DELTA=31 (5 added, 3 deleted, 23 changed)
OCL=35700
CL=35700
|
|
cut the slowest tests down from a few seconds
to under half a second.
R=r
DELTA=21 (6 added, 1 deleted, 14 changed)
OCL=35509
CL=35519
|
|
R=ken
OCL=35042
CL=35044
|
|
also template/template.go, missed last time.
R=r
DELTA=116 (61 added, 10 deleted, 45 changed)
OCL=34620
CL=34622
|
|
R=rsc
OCL=34453
CL=34455
|
|
R=rsc
OCL=34058
CL=34058
|
|
R=rsc
OCL=34041
CL=34041
|
|
R=rsc
OCL=33974
CL=33974
|
|
compile with the current compiler. Adjust expected error
message in method1.go to match 6g output.
R=rsc
DELTA=9 (2 added, 5 deleted, 2 changed)
OCL=33674
CL=33682
|
|
R=rsc
OCL=33382
CL=33391
|
|
R=r
DELTA=163 (1 added, 149 deleted, 13 changed)
OCL=33106
CL=33111
|
|
mostly removing forward declarations.
R=r
DELTA=138 (2 added, 127 deleted, 9 changed)
OCL=33068
CL=33099
|
|
R=ken
OCL=32975
CL=32975
|
|
only need to fix up certain
denominators
R=rsc
OCL=32928
CL=32928
|
|
R=rsc
OCL=32858
CL=32858
|
|
R=rsc
DELTA=18 (10 added, 2 deleted, 6 changed)
OCL=29909
CL=29909
|
|
R=r
OCL=28569
CL=28573
|
|
R=r
OCL=28321
CL=28357
|
|
R=r
OCL=28319
CL=28319
|
|
R=r
DELTA=4 (0 added, 0 deleted, 4 changed)
OCL=27578
CL=27584
|
|
as a reminder, the old conversion
was that you could write
var arr [10]byte;
var slice []byte;
slice = arr;
but now you have to write
slice = &arr;
the change eliminates an implicit &, so that
the only implicit &s left are in the . operator
and in string(arr).
also, removed utf8.EncodeRuneToString
in favor of string(rune).
R=r
DELTA=83 (1 added, 23 deleted, 59 changed)
OCL=27531
CL=27534
|
|
R=r
OCL=24349
CL=24913
|
|
R=r
DELTA=367 (111 added, 59 deleted, 197 changed)
OCL=23957
CL=23960
|
|
added another channel test
R=r
OCL=23488
CL=23488
|
|
TBR=r
OCL=23121
CL=23127
|
|
R=r
OCL=23012
CL=23014
|
|
R=r
OCL=22978
CL=22984
|
|
R=r
OCL=22166
CL=22166
|
|
leaving golden.out alone for now.
R=ken
DELTA=13 (0 added, 0 deleted, 13 changed)
OCL=21682
CL=21682
|
|
fix bugs left over from *[] to [] conversion.
TBR=r
OCL=21576
CL=21581
|
|
R=r
OCL=21564
CL=21564
|
|
:= illegal in for-increment
R=r
OCL=21204
CL=21204
|
|
R=r
OCL=20667
CL=20667
|
|
R=ken
OCL=19943
CL=19943
|
|
R=r,gri
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=18781
CL=18785
|
|
R=r
OCL=18034
CL=18034
|
|
R=r
OCL=17855
CL=17855
|
|
object has a value of type "int", it should not automatically
convert to type "int32". That is, the type alias "int" should
be regarded as having been defined as though "type int int32"
appeared outside of the package, and as therefore being a
different type from "int32".
R=ken
DELTA=21 (20 added, 0 deleted, 1 changed)
OCL=17587
CL=17842
|
|
R=r
OCL=17247
CL=17247
|
|
R=gri,r
OCL=16648
CL=16652
|
|
* 1. all statements and declarations are terminated by semicolons
* 2. semicolons can be omitted at top level.
* 3. semicolons can be omitted before and after the closing ) or }
* on a list of statements or declarations.
/home/rsc/bin/addsemi and then diff+tweak.
R=r,gri
OCL=16620
CL=16643
|
|
ideally cause the compiler to give an error. Right now 6g
warns about large shifts but does not give an error. This CL
removes the out of range shift from shift.go, so that it will
work with gccgo, and adds a test case in bugs/ to be fixed at
a later date.
R=ken,r
DELTA=23 (9 added, 14 deleted, 0 changed)
OCL=16085
CL=16088
|
|
R=r
OCL=15599
CL=15599
|
|
R=ken
OCL=15598
CL=15598
|
|
R=r
OCL=15587
CL=15587
|
|
T(expression) for conversion
FUNC keyword no longer a type
R=r
OCL=14887
CL=14887
|
|
add commands to two new ken tests
R=gri
OCL=14751
CL=14751
|
|
R=r
OCL=14656
CL=14656
|