Descriptioncmd/gc: fix issue with method wrappers not having escape analysis run on them.
Escape analysis needs the right curfn value on a dclfunc node, otherwise it will not analyze the function.
When generating method value wrappers, we forgot to set the curfn correctly.
Fixes issue 5753.
Patch Set 1 #Patch Set 2 : diff -r 56909cb770fe https://code.google.com/p/go/ #Patch Set 3 : diff -r 56909cb770fe https://code.google.com/p/go/ #Patch Set 4 : diff -r 3a652b14dccc https://code.google.com/p/go/ #
MessagesTotal messages: 5
|