This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch committed: Rewrite interface code into Go


This patch to libgo rewrites the interface code from C to Go.

I started to copy the Go 1.7 interface code, but the gc and gccgo
representations of interfaces are too different.  So instead I rewrote
the gccgo interface code from C to Go.  The code is largely the same
as it was, but the names are more like those used in the gc runtime.

I also copied over the string comparison functions, and tweaked the
compiler to use eqstring when comparing strings for equality.

Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.  Committed
to mainline.

Ian

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]