Descriptioncmd/6g, cmd/8g, cmd/5g: make the undefined instruction have no successors
The UNDEF instruction was listed in the instruction data as having the next instruction in the stream as its successor. This confused the optimizer into adding a load where it wasn't needed, in turn confusing the liveness analysis pass for GC bitmaps into thinking that the variable was live.
Fixes issue 7229.
Patch Set 1 #Patch Set 2 : diff -r 459f7bc40d85 https://code.google.com/p/go/ #Patch Set 3 : diff -r 459f7bc40d85 https://code.google.com/p/go/ #Patch Set 4 : diff -r 2b0968d47633 https://code.google.com/p/go/ #Patch Set 5 : diff -r 2b0968d47633 https://code.google.com/p/go/ #
MessagesTotal messages: 13
|