]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix runtime print(hex(x))
authorRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 18:36:25 +0000 (14:36 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 18:36:25 +0000 (14:36 -0400)
commit8e89f87158eb364330e4334d7084e290e07c66a8
treee5f6a1fd422383688c4433a0c640fc031db9d2d8
parent6baf173b6738cb38089bff4bc836b3f54076b32f
cmd/gc: fix runtime print(hex(x))

The code I wrote originally works for trivial functions
that are inlined at a call site in another package,
because that was how I wrote my local test.
Make hex(x) work for non-inlinable functions too.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews, r
https://golang.org/cl/140830043
src/cmd/gc/walk.c