• Ian Lance Taylor's avatar
    cmd/compile: clear OTFUNC info when converting to OTYPE · 7e88826a
    Ian Lance Taylor authored
    I want to get rid of OTFUNC, which serves no useful purpose.  However,
    it turns out that the escape analysis pass looks at the node slices set
    up for OTFUNC, even though by the time escape analysis runs the OTFUNC
    has been converted to OTYPE.  This CL converts the escape analysis code
    to look at the function decls instead, and clears the OTFUNC info when
    converting to OTYPE to ensure that nothing else looks at it.
    
    Change-Id: I3f2f5997ea8ea7a127a858e94b20aabfab84a5bf
    Reviewed-on: https://go-review.googlesource.com/21202
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    7e88826a
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...