diff options
Diffstat (limited to 'libgo/runtime/runtime.c')
-rw-r--r-- | libgo/runtime/runtime.c | 9 |
1 files changed, 9 insertions, 0 deletions
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); +} |