]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/gc: tweak default fatal in ordersafeexpr for c2go
authorRuss Cox <rsc@golang.org>
Wed, 18 Feb 2015 02:52:42 +0000 (21:52 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 20 Feb 2015 00:16:53 +0000 (00:16 +0000)
commit786825c5e8e4b93bf7c4dbe5e5a80c3fe0cb39ed
treee1fc9cce308cbb2becc8cec9df3bec43a6c94493
parent218ff3f9a467b8bf85931adacacd6f760a8c1666
[dev.cc] cmd/gc: tweak default fatal in ordersafeexpr for c2go

c2go was putting a fallthrough after the fatal call.
Changed c2go to know that fatal doesn't return,
but then there is a missing return at the end of
the translated Go function.
Move code around a little to make C and Go agree.

Change-Id: Icef3d55ccdde0709c02dd0c2b78826f6da33a146
Reviewed-on: https://go-review.googlesource.com/5170
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/gc/order.c