diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-10 23:13:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-10 23:13:39 +0000 |
commit | 65180edc5661b1324a53ac9ebbe03f44cda524e4 (patch) | |
tree | 661f2ef36aee0c3ee5866edd2bcf540260a98506 /gcc/go/go-lang.c | |
parent | 73f01cca846d729848e793689389bcaa0dec3045 (diff) | |
download | gcc-65180edc5661b1324a53ac9ebbe03f44cda524e4.zip gcc-65180edc5661b1324a53ac9ebbe03f44cda524e4.tar.gz gcc-65180edc5661b1324a53ac9ebbe03f44cda524e4.tar.bz2 |
runtime: copy print/println support from Go 1.7
Update the compiler to use the new names. Add calls to printlock and
printunlock around print statements. Move expression evaluation before
the call to printlock. Update g's writebuf field to a slice, and adjust
C code accordingly.
Reviewed-on: https://go-review.googlesource.com/30717
From-SVN: r240956
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions