Unify handling of runtime support functions.
authorIan Lance Taylor <iant@google.com>
Wed, 13 Apr 2011 21:00:59 +0000 (21:00 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 13 Apr 2011 21:00:59 +0000 (21:00 +0000)
commitb39c10b81306aeeefc066ec7b1f0e23de9448c21
tree32a57ad9ca89c95394a45e92649f097c96b50924
parent516d9427ed538547a182833b2cf16f557c932710
Unify handling of runtime support functions.

This introduces the new approach, and rewrites the lowering
code which uses runtime functions.  The code which calls
runtime functions at GENERIC conversion time is not yet
rewritten.

From-SVN: r172396
24 files changed:
gcc/go/ChangeLog
gcc/go/Make-lang.in
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/runtime.cc [new file with mode: 0644]
gcc/go/gofrontend/runtime.def [new file with mode: 0644]
gcc/go/gofrontend/runtime.h [new file with mode: 0644]
gcc/go/gofrontend/statements.cc
libgo/runtime/channel.h
libgo/runtime/go-append.c
libgo/runtime/go-byte-array-to-string.c
libgo/runtime/go-chan-cap.c
libgo/runtime/go-chan-len.c
libgo/runtime/go-construct-map.c
libgo/runtime/go-copy.c
libgo/runtime/go-int-array-to-string.c
libgo/runtime/go-map-len.c
libgo/runtime/go-new-channel.c
libgo/runtime/go-new-map.c
libgo/runtime/go-new.c
libgo/runtime/go-select.c
libgo/runtime/go-trampoline.c
libgo/runtime/map.h