• Luuk van Dijk's avatar
    gc: inlining fixes · 97fd7d5f
    Luuk van Dijk authored
    flag -l means: inlining on, -ll inline with early typecheck
    -l lazily typechecks imports on use and re-export, nicer for debugging
    -lm produces output suitable for errchk tests, repeated -mm... increases inl.c's verbosity
    export processed constants, instead of originals
    outparams get ->inlvar too, and initialized to zero
    fix shared rlist bug, that lead to typecheck messing up the patched tree
    properly handle non-method calls to methods T.meth(t, a...)
    removed embryonic code to handle closures in inlined bodies
    also inline calls inside closures (todo: move from phase 6b to 4)
    
    Fixes #2579.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/5489106
    97fd7d5f
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...