diff --git a/src/pkg/runtime/asm_386.s b/src/pkg/runtime/asm_386.s index 2aa1a2d0e42..89db4137044 100644 --- a/src/pkg/runtime/asm_386.s +++ b/src/pkg/runtime/asm_386.s @@ -141,7 +141,7 @@ TEXT runtime·gosave(SB), 7, $0 MOVL BX, gobuf_g(AX) RET -// void gogo(Gobuf*, uintptr) +// void gogo(Gobuf*) // restore state from Gobuf; longjmp TEXT runtime·gogo(SB), 7, $0 MOVL 4(SP), BX // gobuf diff --git a/src/pkg/runtime/asm_amd64.s b/src/pkg/runtime/asm_amd64.s index be3ae0d32ad..f6919c6d03f 100644 --- a/src/pkg/runtime/asm_amd64.s +++ b/src/pkg/runtime/asm_amd64.s @@ -128,7 +128,7 @@ TEXT runtime·gosave(SB), 7, $0 MOVQ BX, gobuf_g(AX) RET -// void gogo(Gobuf*, uintptr) +// void gogo(Gobuf*) // restore state from Gobuf; longjmp TEXT runtime·gogo(SB), 7, $0 MOVQ 8(SP), BX // gobuf diff --git a/src/pkg/runtime/asm_arm.s b/src/pkg/runtime/asm_arm.s index 7d6123c0e55..5442e69ad14 100644 --- a/src/pkg/runtime/asm_arm.s +++ b/src/pkg/runtime/asm_arm.s @@ -108,7 +108,7 @@ TEXT runtime·gosave(SB), 7, $-4 MOVW R11, gobuf_ctxt(R0) RET -// void gogo(Gobuf*, uintptr) +// void gogo(Gobuf*) // restore state from Gobuf; longjmp TEXT runtime·gogo(SB), 7, $-4 MOVW 0(FP), R1 // gobuf