Descriptionruntime: fix 1-byte return during x.(T) for 0-byte T
The 1-byte write was silently clearing a byte on the stack.
If there was another function call with more arguments
in the same stack frame, no harm done.
Otherwise, if the variable at that location was already zero,
no harm done.
Otherwise, problems.
Fixes issue 8139.
Patch Set 1 #Patch Set 2 : diff -r 498ac2e68c28 https://code.google.com/p/go/ #Patch Set 3 : diff -r 498ac2e68c28 https://code.google.com/p/go/ #Patch Set 4 : diff -r 876107512a67 https://code.google.com/p/go/ #
MessagesTotal messages: 3
|