Descriptionexp/ssa: fixed bug (typo) in findPromotedField.
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.
Patch Set 1 #Patch Set 2 : diff -r 083759101bc9 https://code.google.com/p/go/ #Patch Set 3 : diff -r 083759101bc9 https://code.google.com/p/go/ #Patch Set 4 : diff -r 083759101bc9 https://code.google.com/p/go/ #Patch Set 5 : diff -r 52aea5898ab8 https://code.google.com/p/go/ #
MessagesTotal messages: 3
|