1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:44:40 -07:00

[dev.power64] runtime: fix out-of-date comment in panic

LGTM=bradfitz
R=rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/162500043
This commit is contained in:
Austin Clements 2014-10-30 12:08:21 -04:00
parent 36d417c0e3
commit 4cf28a11e3

View File

@ -69,7 +69,7 @@ runtime·recovery_m(G *gp)
// each call to deferproc. // each call to deferproc.
// (The pc we're returning to does pop pop // (The pc we're returning to does pop pop
// before it tests the return value.) // before it tests the return value.)
// On the arm there are 2 saved LRs mixed in too. // On the arm and power there are 2 saved LRs mixed in too.
if(thechar == '5' || thechar == '9') if(thechar == '5' || thechar == '9')
gp->sched.sp = (uintptr)argp - 4*sizeof(uintptr); gp->sched.sp = (uintptr)argp - 4*sizeof(uintptr);
else else