diff options
author | Russ Cox <rsc@golang.org> | 2011-06-17 16:05:00 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-06-17 16:05:00 -0400 |
commit | 8d4016a5336a64bab701971abfb5846a0f891209 (patch) | |
tree | 75aab87b85f6660d12b42737a05f2189f175cbd2 | |
parent | b183e2cc440d5a357924a95c5a68b87b589e185c (diff) | |
download | go-8d4016a5336a64bab701971abfb5846a0f891209.tar.gz |
5g, 8g: fix build
R=ken2
CC=golang-dev
http://codereview.appspot.com/4627045
-rw-r--r-- | src/cmd/5g/gsubr.c | 2 | ||||
-rw-r--r-- | src/cmd/8g/gsubr.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/5g/gsubr.c b/src/cmd/5g/gsubr.c index 7f20b4c7d..2d9218461 100644 --- a/src/cmd/5g/gsubr.c +++ b/src/cmd/5g/gsubr.c @@ -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; diff --git a/src/cmd/8g/gsubr.c b/src/cmd/8g/gsubr.c index be306ed92..a35c81eb1 100644 --- a/src/cmd/8g/gsubr.c +++ b/src/cmd/8g/gsubr.c @@ -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; |