]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/go/go-gcc.cc
runtime: use builtin memmove directly
authorCherry Zhang <cherryyz@google.com>
Wed, 8 May 2019 17:40:45 +0000 (17:40 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 May 2019 17:40:45 +0000 (17:40 +0000)
commitfbe4e644c0c8f1303ec91a25b8da6e626976500c
tree87a1cfc98677c590f437af9209a3c78b34b5e9ef
parent5345ac5a110a5fcafaa9bdf3116b8252de2d96c6
runtime: use builtin memmove directly

    We can use the intrinsic memmove directly, without going through
    C.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/170004

* go-gcc.cc (Gcc_backend::Gcc_backend): Define memmove builtin.

From-SVN: r271016
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/stubs.go
libgo/runtime/go-memmove.c [deleted file]