summaryrefslogtreecommitdiff
path: root/test/recover2.go
Commit message (Collapse)AuthorAgeFilesLines
* test: use testlib (final 61)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5671080
* gc: implement == on structs and arraysRuss Cox2011-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | To allow these types as map keys, we must fill in equal and hash functions in their algorithm tables. Structs or arrays that are "just memory", like [2]int, can and do continue to use the AMEM algorithm. Structs or arrays that contain special values like strings or interface values use generated functions for both equal and hash. The runtime helper func runtime.equal(t, x, y) bool handles the general equality case for x == y and calls out to the equal implementation in the algorithm table. For short values (<= 4 struct fields or array elements), the sequence of elementwise comparisons is inlined instead of calling runtime.equal. R=ken, mpimenov CC=golang-dev http://codereview.appspot.com/5451105
* non-pkg: gofix -r error -force=errorRuss Cox2011-11-011-5/+2
| | | | | | R=golang-dev, iant, r, r CC=golang-dev http://codereview.appspot.com/5307066
* delete float, complex - code changesRuss Cox2011-01-191-1/+1
| | | | | | | | | | | also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev http://codereview.appspot.com/3991043
* remove naclRuss Cox2010-12-151-6/+0
| | | | | | | | | | | | The recent linker changes broke NaCl support a month ago, and there are no known users of it. The NaCl code can always be recovered from the repository history. R=adg, r CC=golang-dev http://codereview.appspot.com/3671042
* arm: enable all testsRuss Cox2010-10-251-2/+2
| | | | | | | | | ARM functionality is now completely working. (Or if it's not, we'll fix it.) R=ken2 CC=golang-dev http://codereview.appspot.com/2738041
* gc: index bounds tests and fixesRuss Cox2010-08-031-1/+3
| | | | | | | | | move constant index checking to front end x[2:1] is a compile-time error now too R=ken2 CC=golang-dev http://codereview.appspot.com/1848056
* complex divide: match C99 implementationRuss Cox2010-06-181-4/+4
| | | | | | R=iant, ken2, r, r2, ken3 CC=golang-dev http://codereview.appspot.com/1686044
* runtime: two proc bug fixesRuss Cox2010-04-061-0/+5
| | | | | | | | | | | | 1. Fix bug in GOMAXPROCS when trying to cut number of procs Race could happen on any system but was manifesting only on Xen hosted Linux. 2. Fix recover on ARM, where FP != caller SP. R=r CC=golang-dev http://codereview.appspot.com/880043
* runtime: turn run time errors checks into panicsRuss Cox2010-04-011-0/+86
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>