From 6b752cfac4ecf8b620726bfcd703844ebfaca6ea Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 20 Oct 2016 18:51:35 +0000 Subject: runtime: rewrite interface code into 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. Reviewed-on: https://go-review.googlesource.com/31591 From-SVN: r241384 --- libgo/runtime/go-unsafe-newarray.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libgo/runtime/go-unsafe-newarray.c') diff --git a/libgo/runtime/go-unsafe-newarray.c b/libgo/runtime/go-unsafe-newarray.c index f5c5efc..409ddd9 100644 --- a/libgo/runtime/go-unsafe-newarray.c +++ b/libgo/runtime/go-unsafe-newarray.c @@ -8,7 +8,6 @@ #include "arch.h" #include "malloc.h" #include "go-type.h" -#include "interface.h" /* Implement unsafe_NewArray, called from the reflect package. */ -- cgit v1.1