• Alan Donovan's avatar
    exp/ssa: fixed bug (typo) in findPromotedField. · 71c37e1c
    Alan Donovan authored
    By appending to the wrong (always empty) list, only the last
    anonymous field was being considered for promotion.
    
    Also:
    - eliminated "function-local NamedTypes" TODO; nothing to do.
    - fixed Function.DumpTo: printing of anon receivers was "( T)",
      now "(T)"; extracted writeSignature into own function.
    - eliminated blockNames function;
      thanks to BasicBlock.String, "%s" of []*BasicBlock is fine.
    - extracted buildReferrers into own function.
    
    exp/ssa can now build its own transitive closure.
    
    R=gri
    CC=golang-dev
    https://golang.org/cl/7384054
    71c37e1c
Name
Last commit
Last update
..
interp Loading commit data...
blockopt.go Loading commit data...
builder.go Loading commit data...
doc.go Loading commit data...
dom.go Loading commit data...
emit.go Loading commit data...
func.go Loading commit data...
importer.go Loading commit data...
lift.go Loading commit data...
literal.go Loading commit data...
lvalue.go Loading commit data...
print.go Loading commit data...
promote.go Loading commit data...
sanity.go Loading commit data...
ssa.go Loading commit data...
ssadump.go Loading commit data...
util.go Loading commit data...