mirror of
https://github.com/golang/go
synced 2024-11-19 14:44:40 -07:00
parent
7f4c5ea7d8
commit
b96ff8458c
@ -109,8 +109,6 @@ unpatch(Prog *p)
|
||||
|
||||
if(p->to.type != D_BRANCH)
|
||||
fatal("unpatch: not a branch");
|
||||
if(p->to.branch == P)
|
||||
fatal("unpatch: not patched");
|
||||
q = p->to.branch;
|
||||
p->to.branch = P;
|
||||
p->to.offset = 0;
|
||||
|
@ -107,8 +107,6 @@ unpatch(Prog *p)
|
||||
|
||||
if(p->to.type != D_BRANCH)
|
||||
fatal("unpatch: not a branch");
|
||||
if(p->to.branch == P)
|
||||
fatal("unpatch: not patched");
|
||||
q = p->to.branch;
|
||||
p->to.branch = P;
|
||||
p->to.offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user