Descriptioncmd/gc, runtime: avoid unnecessary copy on type assertion.
When the first result of a type assertion is blank, the compiler would still copy out a potentially large non-interface type.
Fixes issue 1021.
Patch Set 1 #Patch Set 2 : diff -r f781c447da6e https://code.google.com/p/go/ #Patch Set 3 : diff -r f781c447da6e https://code.google.com/p/go/ #
Total comments: 4
Patch Set 4 : diff -r 9fd632db8de2 https://code.google.com/p/go/ #Patch Set 5 : diff -r 9cfe59382e2d https://code.google.com/p/go/ #
MessagesTotal messages: 6
|