diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-05-09 20:12:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-05-09 20:12:09 +0000 |
commit | 133d3bd8362f0c438017ca18adb51afb7288f78b (patch) | |
tree | ea10f6811c6c34a39dc86a7d21b2652dbd18fc65 /libgo/go/runtime | |
parent | b8754cd88a24097bdc0c018ea480e6f726f6baa7 (diff) | |
parent | 41a4d47581db409213d887c41dd914165b802419 (diff) | |
download | gcc-133d3bd8362f0c438017ca18adb51afb7288f78b.zip gcc-133d3bd8362f0c438017ca18adb51afb7288f78b.tar.gz gcc-133d3bd8362f0c438017ca18adb51afb7288f78b.tar.bz2 |
Merge from trunk revision 271040.
From-SVN: r271043
Diffstat (limited to 'libgo/go/runtime')
-rw-r--r-- | libgo/go/runtime/mbarrier.go | 1 | ||||
-rw-r--r-- | libgo/go/runtime/stubs.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/runtime/mbarrier.go b/libgo/go/runtime/mbarrier.go index d3ffd3c..89febb9 100644 --- a/libgo/go/runtime/mbarrier.go +++ b/libgo/go/runtime/mbarrier.go @@ -23,6 +23,7 @@ import ( // //go:linkname typedmemmove runtime.typedmemmove //go:linkname typedslicecopy runtime.typedslicecopy +//go:linkname memclrHasPointers runtime.memclrHasPointers // Go uses a hybrid barrier that combines a Yuasa-style deletion // barrier—which shades the object whose reference is being diff --git a/libgo/go/runtime/stubs.go b/libgo/go/runtime/stubs.go index dfdb38e..435cdf7 100644 --- a/libgo/go/runtime/stubs.go +++ b/libgo/go/runtime/stubs.go @@ -100,6 +100,7 @@ func reflect_memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr) { // memmove copies n bytes from "from" to "to". //go:noescape +//extern __builtin_memmove func memmove(to, from unsafe.Pointer, n uintptr) //go:linkname reflect_memmove reflect.memmove |