summaryrefslogtreecommitdiff
path: root/src/cmd/gc/walk.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-92/+313
2010-06-27optimization of static initializationKen Thompson1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/1677049
2010-06-14gc: no more ...Russ Cox1-152/+25
various cleanup, deleting unused code R=ken2 CC=golang-dev http://codereview.appspot.com/1663041
2010-06-12gc: less aggressive name binding, for better line numbers in errorsRuss Cox1-6/+28
Cleans up a few other corner cases too. R=ken2 CC=golang-dev http://codereview.appspot.com/1592045
2010-06-08gc: new typechecking rulesRuss Cox1-305/+81
* Code for assignment, conversions now mirrors spec. * Changed some snprint -> smprint. * Renamed runtime functions to separate interface conversions from type assertions: convT2I, assertI2T, etc. * Correct checking of \U sequences. Fixes issue 840. Fixes issue 830. Fixes issue 778. R=ken2 CC=golang-dev http://codereview.appspot.com/1303042
2010-05-20gc: handle use of builtin function outside function callRuss Cox1-1/+3
tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
2010-05-20gc: line number bug fixRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1243044
2010-05-03allow data statements for simpleKen Thompson1-1/+3
external variable assignements. R=rsc CC=golang-dev http://codereview.appspot.com/1094041
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox1-5/+9
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-30gc: bug271Russ Cox1-8/+7
Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
2010-04-30gc: bug270Russ Cox1-4/+1
Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
2010-04-12gc: zero unnamed return values on entry if func has deferRuss Cox1-4/+10
R=ken2 CC=golang-dev http://codereview.appspot.com/891050
2010-04-11gc: compile s == "" as len(s) == 0Russ Cox1-0/+24
R=ken2 CC=golang-dev http://codereview.appspot.com/840043
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-6/+1
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-03-31gc: implement panic and recoverRuss Cox1-1/+2
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-30gc: add panic and recover (still unimplemented in runtime)Russ Cox1-2/+8
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev http://codereview.appspot.com/812043
2010-03-29gc: bug265Russ Cox1-5/+20
Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
2010-03-26gc: allow taking address of out parametersRuss Cox1-1/+25
Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
2010-03-24depricate paniclnKen Thompson1-7/+3
R=rsc CC=golang-dev http://codereview.appspot.com/743041
2010-03-22gc: various map-related bug fixesRuss Cox1-50/+45
Fixes issue 687. R=ken2 CC=golang-dev http://codereview.appspot.com/680042
2010-03-09identical complex implementationKen Thompson1-3/+12
for 6g and 8g. can also be used for 5g. 5g is still a stub. R=rsc CC=golang-dev http://codereview.appspot.com/362041
2010-03-085g/6g/8g: fix double function call in sliceRuss Cox1-0/+6
Fixes issue 654. R=ken2 CC=golang-dev http://codereview.appspot.com/310041
2010-03-056g complex type usableKen Thompson1-0/+3
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-03-05gc: fix crash on complicated arg to make slice.Russ Cox1-1/+1
Fixes issue 615. R=ken2 CC=golang-dev http://codereview.appspot.com/255043
2010-03-05gc: better compilation of floating point +=Russ Cox1-2/+5
R=ken2 CC=golang-dev http://codereview.appspot.com/255042
2010-03-03gc: fix imported and not used message - show pathRuss Cox1-1/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/229046
2010-02-25gc: implement []int(string) and []byte(string)Russ Cox1-10/+22
R=ken2 CC=golang-dev http://codereview.appspot.com/224060
2010-02-19fixed bug in mpconst float multiply by 0.Ken Thompson1-1/+1
more complex -- constants, variables and print. R=rsc CC=golang-dev http://codereview.appspot.com/217061
2010-02-18gc: fix this morning's bug fixRuss Cox1-2/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/216043
2010-02-18complex constant multiply and divideKen Thompson1-4/+8
R=rsc CC=golang-dev http://codereview.appspot.com/217041
2010-02-18more complex - constantsKen Thompson1-0/+6
import and export R=rsc CC=golang-dev http://codereview.appspot.com/214050
2010-02-18gc: recursive interface embeddingRuss Cox1-5/+43
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/215048
2010-02-16gc: undo attempt at fixing recursive interface embeddingRuss Cox1-18/+1
Fixes issue 582. Update issue 287 Status: Accepted Bug fix was too intrusive; undo and reopen issue. R=ken2 CC=golang-dev http://codereview.appspot.com/209044
2010-02-01gc: bug250, bug251 - recursive interface typesRuss Cox1-34/+66
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/199057
2010-02-01gc: bug246Russ Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/198057
2010-02-01gc: bug242Russ Cox1-10/+28
R=ken2 CC=golang-dev http://codereview.appspot.com/198053
2010-02-01gc: final ...T bug for the dayRuss Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/199046
2010-02-01gc: add ... T, rework plain ...Russ Cox1-3/+32
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-27gc: implement defer print/println/panic/paniclnRuss Cox1-43/+129
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
2010-01-19gc: const debug bool = falseRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
2010-01-08gc: bug238Russ Cox1-1/+4
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox1-1/+1
reported by erik quanstrom. R=ken2 http://codereview.appspot.com/181071
2009-12-17gc: fix compiler crashRuss Cox1-0/+2
R=ken2 CC=dho http://codereview.appspot.com/179097
2009-12-04gc/runtime: pass type structure to makeslice.Russ Cox1-2/+2
* inform garbage collector about memory with no pointers in it 1.9s gcc reverse-complement.c reverse-complement.go 4.5s / 3.5s original, with/without bounds checks 3.5s / 3.3s bounds check reduction 3.3s / 2.8s smarter garbage collector 2.6s / 2.3s assembler bytes.IndexByte 2.5s / 2.1s even smarter garbage collector (this CL) R=r http://codereview.appspot.com/165064
2009-12-02gc: function argument ordering bugRuss Cox1-5/+5
Fixes issue 370. R=ken2 http://codereview.appspot.com/163097
2009-12-026g etc: groundwork for eliminating redundant bounds checks.Russ Cox1-0/+8
drop check in range over array. drop check in [256]array indexed by byte. R=ken2 http://codereview.appspot.com/163088
2009-11-20x[y:] for stringsRuss Cox1-4/+10
R=ken2 http://codereview.appspot.com/157114
2009-11-20x[lo:] - gc and runtime.Russ Cox1-17/+36
* 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
2009-11-18slicecopy was always using 16 (sizeof slice) for the size instead of size of ↵Rob Pike1-1/+1
element. R=rsc CC=ken2, golang-dev http://codereview.appspot.com/156083
2009-11-17install copy predefinedKen Thompson1-1/+12
did not test 386, but should work shouldnt matter if copy is not used R=rsc http://codereview.appspot.com/156055