summaryrefslogtreecommitdiff
path: root/src/cmd/gc/range.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+10
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-4/+13
2010-06-08gc: new typechecking rulesRuss Cox1-5/+5
* 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
2009-12-04gc: walk pointer in range on slice/arrayRuss Cox1-4/+21
R=ken2 http://codereview.appspot.com/166071
2009-12-026g etc: groundwork for eliminating redundant bounds checks.Russ Cox1-3/+6
drop check in range over array. drop check in [256]array indexed by byte. R=ken2 http://codereview.appspot.com/163088
2009-11-15gc: five bug fixes, one better error.Russ Cox1-2/+2
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes issue 86. Fixes issue 88. Fixes issue 158. Fixes issue 174. Fixes issue 201. Fixes issue 204. R=ken2 http://codereview.appspot.com/154144
2009-09-15declared and not used; this time for sureRuss Cox1-1/+1
R=ken OCL=34657 CL=34657
2009-09-08write-only variable _Russ Cox1-3/+3
R=ken OCL=34465 CL=34470
2009-08-05delay range processing. old2new is goneRuss Cox1-0/+216
R=ken OCL=32780 CL=32780