From aa8901e9bb0399d2c16f988ba2fe46eb0c0c5d13 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 6 Sep 2019 18:12:46 +0000 Subject: libgo: update to Go 1.13beta1 release Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473 --- libgo/go/internal/bytealg/bytealg.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libgo/go/internal/bytealg/bytealg.c') diff --git a/libgo/go/internal/bytealg/bytealg.c b/libgo/go/internal/bytealg/bytealg.c index c7c6cce..969732d 100644 --- a/libgo/go/internal/bytealg/bytealg.c +++ b/libgo/go/internal/bytealg/bytealg.c @@ -68,21 +68,6 @@ intgo Compare(struct __go_open_array a, struct __go_open_array b) return 0; } -_Bool Equal(struct __go_open_array, struct __go_open_array) - __asm__(GOSYM_PREFIX "internal..z2fbytealg.Equal") - __attribute__((no_split_stack)); - -_Bool Equal(struct __go_open_array a, struct __go_open_array b) -{ - intgo l; - - l = a.__count; - if (l != b.__count) { - return 0; - } - return __builtin_memcmp(a.__values, b.__values, l) == 0; -} - intgo IndexByte(struct __go_open_array, byte) __asm__(GOSYM_PREFIX "internal..z2fbytealg.IndexByte") __attribute__((no_split_stack)); -- cgit v1.1