Commit b96ff845 authored by Russ Cox's avatar Russ Cox

5g, 8g: fix build

R=ken2
CC=golang-dev
https://golang.org/cl/4627045
parent 7f4c5ea7
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment