• Dave Cheney's avatar
    cmd/internal/gc: more Node cleanups · e4981819
    Dave Cheney authored
    More cleanups to gc.Node
    
    - make Node.Local a boolean
    - make Type.Local a boolean
    - reduce the size of Node.Esc to a uint8
    
    Reducing the size of Node.Esc shaves ~45mb off the RSS compiling cmd/internal/gc on amd64
    
    before:
            Maximum resident set size (kbytes): 659496
    after:
            Maximum resident set size (kbytes): 612196
    
    - declare gc.Funcdepth as int32
    - declare Node.Funcdepth as int32
    
    In both cases, these were previously machine specific int types. This doesn't result in
    any memory saving at the moment due to struct padding.
    
    Change-Id: Iabef8da15e962fe8b79d7fd3d402fb26ce7ec31c
    Reviewed-on: https://go-review.googlesource.com/7261Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    Run-TryBot: Dave Cheney <dave@cheney.net>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    e4981819
Name
Last commit
Last update
..
builtins Loading commit data...
align.go Loading commit data...
array.go Loading commit data...
bits.go Loading commit data...
builtin.go Loading commit data...
bv.go Loading commit data...
closure.go Loading commit data...
const.go Loading commit data...
cplx.go Loading commit data...
dcl.go Loading commit data...
esc.go Loading commit data...
export.go Loading commit data...
fmt.go Loading commit data...
gen.go Loading commit data...
go.go Loading commit data...
go.y Loading commit data...
gsubr.go Loading commit data...
init.go Loading commit data...
inl.go Loading commit data...
lex.go Loading commit data...
mkbuiltin.go Loading commit data...
mparith1.go Loading commit data...
mparith2.go Loading commit data...
mparith3.go Loading commit data...
obj.go Loading commit data...
opnames.go Loading commit data...
order.go Loading commit data...
pgen.go Loading commit data...
plive.go Loading commit data...
popt.go Loading commit data...
racewalk.go Loading commit data...
range.go Loading commit data...
reflect.go Loading commit data...
reg.go Loading commit data...
select.go Loading commit data...
sinit.go Loading commit data...
subr.go Loading commit data...
swt.go Loading commit data...
syntax.go Loading commit data...
typecheck.go Loading commit data...
unsafe.go Loading commit data...
util.go Loading commit data...
walk.go Loading commit data...
y.go Loading commit data...
y.output Loading commit data...