mirror of
https://github.com/golang/go
synced 2024-11-22 04:24:39 -07:00
fix bug introduced in 33293
R=r OCL=34253 CL=34253
This commit is contained in:
parent
ee2d5128d6
commit
0b3407e426
@ -1316,7 +1316,7 @@ pc2line(uvlong pc)
|
||||
if(pc<currpc || pc>txtend)
|
||||
return ~0;
|
||||
|
||||
for(c = pcline; c < pclineend && pc <= currpc; c++) {
|
||||
for(c = pcline; c < pclineend && currpc < pc; c++) {
|
||||
u = *c;
|
||||
if(u == 0) {
|
||||
currline += (c[1]<<24)|(c[2]<<16)|(c[3]<<8)|c[4];
|
||||
|
Loading…
Reference in New Issue
Block a user