• Ian Lance Taylor's avatar
    cmd/gc: save local var list before inlining · ae5e791e
    Ian Lance Taylor authored
    This avoids problems with inlining in genwrappers, which
    occurs after functions have been compiled.  Compiling a
    function may cause some unused local vars to be removed from
    the list.  Since a local var may be unused due to
    optimization, it is possible that a removed local var winds up
    beingused in the inlined version, in which case hilarity
    ensues.
    
    Fixes #5515.
    
    R=golang-dev, khr, dave
    CC=golang-dev
    https://golang.org/cl/10210043
    ae5e791e
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...