go/src
Russ Cox 25922c0658 cmd/gc: introduce hidden closure functions earlier
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
2012-06-04 17:07:59 -04:00
..
cmd cmd/gc: introduce hidden closure functions earlier 2012-06-04 17:07:59 -04:00
lib9 lib9: fix memory leak in p9getwd() 2012-06-05 01:31:23 +08:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach cmd/6l: loop alignment, disabled 2012-06-01 10:23:15 -04:00
pkg time: accept .999 in Parse 2012-06-04 13:09:19 -04:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
all.bash build: run.bash no longer accepts --no-banner 2012-04-10 01:49:49 +08:00
all.bat build: use setlocal in run.bat 2012-02-16 10:44:55 +11:00
all.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
clean.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
make.bash build: do more during windows build 2012-03-20 14:04:20 +11:00
make.bat build: do more during windows build 2012-03-20 14:04:20 +11:00
make.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
run.bash cmd/api: add api/next.txt 2012-05-22 18:41:20 -07:00
run.bat cmd/api: add api/next.txt 2012-05-22 18:41:20 -07:00
run.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
sudo.bash cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present 2012-04-02 22:33:38 +08:00