• Russ Cox's avatar
    cmd/gc: introduce hidden closure functions earlier · 25922c06
    Russ Cox authored
    The original implementation of closures created the
    underlying top-level function during walk, which is fairly
    late in the compilation process and caused ordering-based
    complications due to earlier stages that had to be repeated
    any number of times.
    
    Create the underlying function during typecheck, much
    earlier, so that later stages can be run just once.
    
    The result is a simpler compilation sequence.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/6279049
    25922c06
Name
Last commit
Last update
api Loading commit data...
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...