• Russ Cox's avatar
    cmd/gc: slightly better code generation · 2c09d699
    Russ Cox authored
    * Avoid treating CALL fn(SB) as justification for introducing
    and tracking a registerized variable for fn(SB).
    
    * Remove USED(n) after declaration and zeroing of n.
    It was left over from when the compiler emitted more
    aggressive set and not used errors, and it was keeping
    the optimizer from removing a redundant zeroing of n
    when n was a pointer or integer variable.
    
    Update #597.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/7277048
    2c09d699
Name
Last commit
Last update
..
Makefile Loading commit data...
cgen.c Loading commit data...
cgen64.c Loading commit data...
doc.go Loading commit data...
galign.c Loading commit data...
gg.h Loading commit data...
ggen.c Loading commit data...
gobj.c Loading commit data...
gsubr.c Loading commit data...
list.c Loading commit data...
opt.h Loading commit data...
peep.c Loading commit data...
reg.c Loading commit data...