summaryrefslogtreecommitdiff
path: root/src/cmd/gc/runtime.go
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-11/+13
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-6/+19
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+130
2011-09-13Imported Upstream version 60Ondřej Surý1-131/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-0/+1
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+1
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-1/+3
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+5
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-7/+15
2010-06-08gc: new typechecking rulesRuss Cox1-12/+20
* 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-01gc: be pickier about slice, chan, array, and map sizesRuss Cox1-3/+3
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-1/+2
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/+1
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-1/+3
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-09identical complex implementationKen Thompson1-0/+2
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-02-25gc: implement []int(string) and []byte(string)Russ Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/224060
2010-02-18complex constant multiply and divideKen Thompson1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/217041
2010-01-27gc: implement defer print/println/panic/paniclnRuss Cox1-0/+1
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
2010-01-22gc: do not build builtin.c automatically; use golden copy instead.Russ Cox1-0/+4
R=r CC=golang-dev http://codereview.appspot.com/190104 Committer: Russ Cox <rsc@golang.org>
2009-12-15 1) Change default gofmt default settings forRobert Griesemer1-1/+1
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-12-04gc/runtime: pass type structure to makeslice.Russ Cox1-1/+1
* 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-11-20x[y:] for stringsRuss Cox1-0/+1
R=ken2 http://codereview.appspot.com/157114
2009-11-20x[lo:] - gc and runtime.Russ Cox1-1/+1
* 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-17install copy predefinedKen Thompson1-0/+1
did not test 386, but should work shouldnt matter if copy is not used R=rsc http://codereview.appspot.com/156055
2009-10-15rename sys functions to runtime,Russ Cox1-0/+93
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-05-12no need for compiler to hard-code definition of runtime.Russ Cox1-9/+0
use the actual go source instead. R=r DELTA=90 (66 added, 18 deleted, 6 changed) OCL=28708 CL=28719
2009-05-08move things out of sys into os and runtimeRuss Cox1-0/+9
R=r OCL=28569 CL=28573