From 6736ef96eab222e58e6294f42be981a5afb59811 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 6 Jun 2014 22:37:27 +0000 Subject: libgo: Merge to master revision 19184. The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328 --- libgo/runtime/runtime.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libgo/runtime/runtime.c') diff --git a/libgo/runtime/runtime.c b/libgo/runtime/runtime.c index 4f9909b..eb32a8d 100644 --- a/libgo/runtime/runtime.c +++ b/libgo/runtime/runtime.c @@ -353,3 +353,12 @@ runtime_debug_setMaxStack(intgo in) runtime_maxstacksize = in; return out; } + +void memclrBytes(Slice) + __asm__ (GOSYM_PREFIX "runtime.memclrBytes"); + +void +memclrBytes(Slice s) +{ + runtime_memclr(s.__values, s.__count); +} -- cgit v1.1