]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/stubs.go
[dev.garbage] all: merge dev.cc (493ad916c3b1) into dev.garbage
[gostls13.git] / src / runtime / stubs.go
index 4063e5434b103c68b33c92741b94b372c3d34bfd..4408e22bffdf9ed1d584c72045cb9fc4bd6413c6 100644 (file)
@@ -154,7 +154,7 @@ func setcallerpc(argp unsafe.Pointer, pc uintptr)
 //
 //     func f(arg1, arg2, arg3 int) {
 //             pc := getcallerpc(unsafe.Pointer(&arg1))
-//             sp := getcallerpc(unsafe.Pointer(&arg2))
+//             sp := getcallersp(unsafe.Pointer(&arg1))
 //     }
 //
 // These two lines find the PC and SP immediately following