Closed chai2010 closed 8 years ago
I'm not sure if it's unused code. I don't think the calling convention guarantees that callees will not modify the args on the stack.
I started a golang-dev discussion at https://groups.google.com/d/topic/golang-dev/8RywCWxHVYA/discussion
That discussion suggests that, in general, you can't assume that callees won't modify the args on the stack, so this isn't actually unused code.
I'm not sure if it's unused code. I don't think the calling convention guarantees that callees will not modify the args on the stack.
I started a golang-dev discussion at https://groups.google.com/d/topic/golang-dev/8RywCWxHVYA/discussion