• Russ Cox's avatar
    cmd/gc: fix escape analysis ordering · 148fac79
    Russ Cox authored
    Functions without bodies were excluded from the ordering logic,
    because when I wrote the ordering logic there was no reason to
    analyze them.
    
    But then we added //go:noescape tags that need analysis, and we
    didn't update the ordering logic.
    
    So in the absence of good ordering, //go:noescape only worked
    if it appeared before the use in the source code.
    
    Fixes #5773.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/10570043
    148fac79
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...