summaryrefslogtreecommitdiff
path: root/src/cmd/gc/walk.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-19fix new(bool) error messageRuss Cox1-8/+8
R=ken OCL=21616 CL=21616
2008-12-19compiler changes for *chan -> chan; *map -> map; new(T) -> new(*T)Russ Cox1-60/+39
mainly a syntactic change: the compiler representations don't change (chan and map are now hidden pointers like string). R=ken OCL=21578 CL=21582
2008-12-18print(array)Ken Thompson1-0/+5
R=r OCL=21570 CL=21570
2008-12-18new []int literalRuss Cox1-1/+42
R=ken OCL=21568 CL=21568
2008-12-18cmp [] to nilKen Thompson1-0/+4
R=r OCL=21567 CL=21567
2008-12-18another [] fixRuss Cox1-1/+1
R=ken OCL=21566 CL=21566
2008-12-18[] fixesRuss Cox1-4/+6
R=ken OCL=21565 CL=21565
2008-12-18arraysKen Thompson1-109/+105
R=r OCL=21564 CL=21564
2008-12-12bug104Ken Thompson1-1/+1
R=r OCL=21082 CL=21082
2008-12-11reject struct to interface conversion for nowRuss Cox1-1/+6
R=ken OCL=21007 CL=21007
2008-12-11only generate non-trivial signatures in theRuss Cox1-1/+2
file in which they occur. avoids duplicate trampoline generation across multiple files. R=ken OCL=20976 CL=20980
2008-12-08conversion to/fromKen Thompson1-0/+16
any pointer or uintptr and unsafe.pointer R=r OCL=20795 CL=20795
2008-12-06allowed syntax for rangeKen Thompson1-7/+29
a range m (implies :=) a,b range m (implies :=) a:b range m (implies :=) a := range m a,b := range m a:b := range m a = range m a,b = range m a:b = range m R=r OCL=20676 CL=20676
2008-12-05range statementKen Thompson1-0/+104
R=r OCL=20667 CL=20667
2008-12-04empty switches -- bug128Ken Thompson1-3/+1
R=r OCL=20520 CL=20522
2008-11-22reg and peepKen Thompson1-1/+14
R=r OCL=19871 CL=19871
2008-11-14switchKen Thompson1-4/+2
R=r OCL=19288 CL=19288
2008-11-11don't try interface/structure conversion untilRuss Cox1-7/+7
last resort, because it assumes every call is a real use of the conversion. R=ken OCL=19026 CL=19026
2008-11-06change minimum sethi/ullman number to 1Russ Cox1-0/+3
to distinguish not computed (0) vs trivial (1). add missing ullmancalc on function args. R=ken OCL=18711 CL=18711
2008-11-066g ninit fixes - fixes the two test casesRuss Cox1-1/+5
i isolated last night. does not fix rob's interface-smashing bug. R=ken OCL=18698 CL=18698
2008-11-05select defaultKen Thompson1-5/+25
R=r OCL=18646 CL=18646
2008-11-05more on t,ok = I.(T)Ken Thompson1-0/+16
R=r OCL=18599 CL=18599
2008-11-05T,ok = I.(T)Ken Thompson1-24/+47
R=r OCL=18580 CL=18582
2008-11-056g interface changes:Russ Cox1-9/+13
* allow conversion between nil interface and any type. * mark signatures as DUPOK so that multiple .6 can contain sigt.*[]byte and only one gets used. R=ken OCL=18538 CL=18542
2008-11-03treat ... as agreedKen Thompson1-10/+27
only unencapsulated if passing one ddd argument to one ddd parameter. R=r OCL=18376 CL=18376
2008-11-03silence gcc warningsRuss Cox1-3/+2
R=ken OCL=18348 CL=18348
2008-11-01DOTDOTDOTKen Thompson1-43/+134
R=r OCL=18317 CL=18317
2008-10-29shift bugsKen Thompson1-2/+6
R=r OCL=18095 CL=18095
2008-10-29new(chan)Ken Thompson1-1/+1
R=r OCL=18027 CL=18027
2008-10-29the end of life as we know itKen Thompson1-34/+34
int is new type R=r OCL=18023 CL=18023
2008-10-24another step toward interface subtypesKen Thompson1-113/+0
put explicit ./ on some runtime tests R=r OCL=17839 CL=17839
2008-10-22embedded typesKen Thompson1-24/+4
auto & on methods R=r OCL=17682 CL=17682
2008-10-22embedded typesKen Thompson1-11/+31
R=r OCL=17676 CL=17676
2008-10-22fix handling of *f() = 1Russ Cox1-0/+2
R=ken OCL=17625 CL=17641
2008-10-21elided dotsKen Thompson1-24/+94
R=r OCL=17601 CL=17601
2008-10-21reject new of function typeRuss Cox1-0/+4
R=ken OCL=17598 CL=17598
2008-10-21rewrite &Point{1, 2} as allocationRuss Cox1-0/+30
R=ken OCL=17592 CL=17592
2008-10-21changes to imbeddedKen Thompson1-59/+96
R=r OCL=17572 CL=17572
2008-10-19unnamed substructures - not completeKen Thompson1-24/+45
R=r OCL=17437 CL=17437
2008-10-16diagnose various conversion problemsRuss Cox1-2/+5
R=ken OCL=17320 CL=17320
2008-10-14interface equality (strings specifically)Ken Thompson1-2/+0
R=r OCL=17134 CL=17134
2008-10-14interface equalityKen Thompson1-1/+27
R=r OCL=17116 CL=17118
2008-10-06change type names to go live at the name, so thatRuss Cox1-2/+2
type T struct { next *T } and type T *struct { next T } are valid without needing forward declarations. add "type T struct" syntax for forward struct declarations. add "type T interface" syntax, but commented out (need to fix semicolons first) R=ken DELTA=452 (259 added, 115 deleted, 78 changed) OCL=16580 CL=16584
2008-10-04bug060Ken Thompson1-0/+2
R=r OCL=16497 CL=16497
2008-10-04bug 026Ken Thompson1-4/+4
R=r OCL=16494 CL=16494
2008-10-04add method test & fix method name bugsRuss Cox1-6/+11
R=ken,r DELTA=86 (72 added, 9 deleted, 5 changed) OCL=16488 CL=16488
2008-10-02more on arbitrary receiver typesKen Thompson1-7/+15
this CL passes the tests, but should be considered unstable R=r OCL=16390 CL=16390
2008-10-02added printn and panicnKen Thompson1-8/+32
prints that insert spaces and new line R=r OCL=16370 CL=16370
2008-10-02add values to some "return" statements.Russ Cox1-16/+9
delete unused variables R=ken OCL=16360 CL=16360
2008-09-29minor bugsKen Thompson1-13/+11
R=r OCL=16163 CL=16163