OSDN Git Service

Unify handling of runtime support functions.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2011 21:00:59 +0000 (21:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2011 21:00:59 +0000 (21:00 +0000)
commit9581e91dbb7fa66fee457ad404e908d3d4130ad6
tree32a57ad9ca89c95394a45e92649f097c96b50924
parent4c35e34cb7b64a3351bdf41eb63cffb51307fb18
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172396 138bc75d-0d04-0410-961f-82ee72b054a4
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