diff options
Diffstat (limited to 'src/runtime/asm_amd64.s')
| -rw-r--r-- | src/runtime/asm_amd64.s | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s index 39219babcc..09fd8e11d2 100644 --- a/src/runtime/asm_amd64.s +++ b/src/runtime/asm_amd64.s @@ -1015,10 +1015,6 @@ nosave: // This code is like the above sequence but without saving/restoring g // and without worrying about the stack moving out from under us // (because we're on a system stack, not a goroutine stack). - // The above code could be used directly if already on a system stack, - // but then the only path through this code would be a rare case on Solaris. - // Using this code for all "already on system stack" calls exercises it more, - // which should help keep it correct. MOVQ fn+0(FP), AX MOVQ arg+8(FP), BX MOVQ SP, DX |
