You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is an inline mark that is left behind when inlining. It is a nop (0x90) so it shouldn't affect run time much (see https://go-review.googlesource.com/c/go/+/158057 for why "nop" is spelled "xchgl AX,AX").
It is used to ensure proper backtraces. It isn't needed in this case, as there's no faulting instruction which could reveal the inlining. To clean some of these up is #29571 .
What did you do?
I compiled the following code on tip, which generated the assembly code below:
What did you expect to see?
I expected the XCHGL instruction to not be there, as I don't think it makes much sense.
In version 1.11, the assembly code looks like this:
What did you see instead?
Instead, the XCHGL instruction is present, as shown in the first assembly snippet
The text was updated successfully, but these errors were encountered: