summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/386/closure.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-11/+6
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox1-1/+1
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2009-10-15rename sys functions to runtime,Russ Cox1-1/+1
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-09-22changes to accommodate nacl:Russ Cox1-0/+3
* change ldt0setup to set GS itself; nacl won't let us do it. * change breakpoint to INT $3 so 8l can translate to HLT for nacl. * panic if closure is needed on nacl. * do not try to access symbol table on nacl. * mmap in 64kB chunks. nacl support: * system calls, threading, locks. R=r DELTA=365 (357 added, 5 deleted, 3 changed) OCL=34880 CL=34906
2009-07-28make every func literal expression allocate,Russ Cox1-29/+32
so that == on func means that the functions originated in the same execution of a func literal or definition. before, there was an inconsistency: func() {x++} != func() {x++} but func() {} == func() {} this CL makes the second case != too, just like make(map[int]int) != make(map[int]int) R=r DELTA=202 (71 added, 62 deleted, 69 changed) OCL=32393 CL=32398
2009-06-09mv src/lib to src/pkgRob Pike1-0/+104
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102