1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:11:21 -06:00
go/src/cmd/6l
Russ Cox 9cba9c8890 6l: eliminate dead code, not just the symbols
editing the firstp list was ineffective,
because follow rebuilds it from the textp list.

the symbols for dead code were being dropped
from the binary but the code was all still there.

text for fmt.Printf("hello, world\n") drops
from 143945 to 128650.

R=r,ken
DELTA=22  (20 added, 0 deleted, 2 changed)
OCL=28255
CL=28290
2009-05-05 12:43:00 -07:00
..
6.out.h * move go-specific loader code 2009-03-31 00:20:07 -07:00
asm.c throw away most of the compat.h compatibility layer 2009-03-24 12:12:57 -07:00
go.c * move go-specific loader code 2009-03-31 00:20:07 -07:00
l.h change 6l library directory flag to -L, 2009-04-30 13:32:39 -07:00
list.c delete unused code and data from 6.outs. 2009-01-21 14:50:27 -08:00
Makefile * move go-specific loader code 2009-03-31 00:20:07 -07:00
mkenam Add compiler source to new directory structure 2008-06-04 14:37:38 -07:00
obj.c change 6l library directory flag to -L, 2009-04-30 13:32:39 -07:00
optab.c morestack magic number 2008-07-12 17:16:22 -07:00
pass.c more morestack fiddling 2009-05-03 19:09:14 -07:00
span.c 6l: eliminate dead code, not just the symbols 2009-05-05 12:43:00 -07:00