1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:34:40 -07:00
go/test
Russ Cox 335da67e00 gc: make static initialization more static
Does as much as possible in data layout instead
of during the init function.

Handles var x = y; var y = z as a special case too,
because it is so prevalent in package unicode
(var Greek = _Greek; var _Greek = []...).

Introduces InitPlan description of initialized data
so that it can be traversed multiple times (for example,
in the copy handler).

Cuts package unicode's init function size by 8x.
All that remains there is map initialization, which
is on the chopping block too.

Fixes sinit.go test case.

Aggregate DATA instructions at end of object file.

Checkpoint.  More to come.

R=ken2
CC=golang-dev
https://golang.org/cl/4969051
2011-08-31 07:37:14 -04:00
..
bench timing.log: significant improvements after custom algorithms 2011-08-10 15:45:37 +10:00
bugs gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
chan test/chan/sieve2.go: remove container/vector. 2011-08-22 13:29:17 +10:00
fixedbugs gc: fix div bug 2011-08-30 08:47:28 -04:00
garbage
interface errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
ken fix tree for reflect rename 2011-04-25 13:39:36 -04:00
nilptr
syntax
64bit.go
235.go
append.go
args.go
assign1.go
assign.go
bigalg.go
bigmap.go
blank1.go
blank.go
chancap.go
char_lit1.go
char_lit.go
closedchan.go
closure.go
cmp1.go
cmp2.go
cmp3.go
cmp4.go
cmp5.go
cmp6.go
cmplx.go
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go
complit.go
compos.go
const1.go
const2.go
const3.go
const.go
convert3.go
convert.go fix tree for reflect rename 2011-04-25 13:39:36 -04:00
convlit1.go
convlit.go
copy.go
ddd1.go gc: disallow [...][...]int{{1,2,3}} 2011-07-26 00:52:02 -04:00
ddd2.go
ddd3.go
ddd.go
decl.go
declbad.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
defer.go
deferprint.go
divide.go 6g, 8g: divide corner case 2011-07-28 14:18:22 -04:00
empty.go
env.go
eof1.go
eof.go
errchk errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
escape2.go gc: fix arm build 2011-08-28 23:29:34 -04:00
escape.go
float_lit.go
floatcmp.go
for.go
func1.go
func2.go
func3.go
func4.go
func5.go
func6.go gc: fix func syntax error 2011-04-13 22:48:21 -04:00
func7.go gc: fix order of operations for f() < g(). 2011-04-26 00:57:03 -04:00
func.go
gc1.go
gc2.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
gc.go
golden.out gc: make static initialization more static 2011-08-31 07:37:14 -04:00
goprint.go gc: handle go print() and go println() 2011-06-13 22:50:51 +10:00
goto.go test: test of goto restrictions 2011-06-20 14:06:00 -04:00
hashmap.go
helloworld.go
if.go go: require { } around else block 2011-07-14 17:15:52 -04:00
import1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
import2.go
import3.go
import4.go
import.go
index.go
indirect1.go
indirect.go
init.go
initcomma.go
initialize.go
initializerr.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
initsyscall.go
int_lit.go
intcvt.go
iota.go
label1.go
label.go test: match gccgo error messages for label.go and label1.go. 2011-03-25 10:36:46 -07:00
literal.go
malloc1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocfin.go
mallocrand.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocrep1.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
mallocrep.go runtime: add UpdateMemStats, use in tests 2011-07-22 00:55:01 -04:00
map.go
method1.go
method2.go gc: explain why invalid receiver types are invalid 2011-04-25 17:16:44 -04:00
method3.go
method.go
named1.go
named.go
nil.go test: new nil semantics 2011-08-17 15:55:06 -04:00
nul1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
parentype.go
peano.go
printbig.go
range.go
recover1.go
recover2.go
recover3.go
recover.go
rename1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
rename.go
run test: put GOROOT/bin before all others in run 2011-08-24 16:12:20 +02:00
runtime.go
shift1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
shift2.go gc: implement new shift rules 2011-05-31 15:05:40 -04:00
sieve.go
sigchld.go
simassign.go
sinit.go gc: make static initialization more static 2011-08-31 07:37:14 -04:00
sizeof.go gc: unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr 2011-06-17 16:12:14 -04:00
solitaire.go
stack.go
string_lit.go
stringrange.go
switch1.go
switch.go
test0.go
turing.go
typeswitch1.go
typeswitch2.go type switches: test for pathological case 2011-08-19 09:31:50 -07:00
typeswitch.go
undef.go
utf.go
varerr.go
varinit.go
vectors.go
zerodivide.go