]> Cypherpunks repositories - gostls13.git/commit
cmd/6l, cmd/8l: fix chaining bug in jump rewrite
authorRuss Cox <rsc@golang.org>
Wed, 30 May 2012 20:10:53 +0000 (16:10 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 30 May 2012 20:10:53 +0000 (16:10 -0400)
commitb91cf5058514f70750076c25af07d904d2ee7c1b
tree1807946007040a146bf14e2549ae698c8face0fb
parent37f046bac67053773d2ed34299a2e7e520c88037
cmd/6l, cmd/8l: fix chaining bug in jump rewrite

The code was inconsistent about when it used
brchain(x) and when it used x directly, with the result
that you could end up emitting code for brchain(x) but
leave the jump pointing at an unemitted x.

R=ken2
CC=golang-dev
https://golang.org/cl/6250077
src/cmd/6l/pass.c
src/cmd/8l/pass.c