diff options
Diffstat (limited to 'libgo/runtime/go-unsafe-newarray.c')
-rw-r--r-- | libgo/runtime/go-unsafe-newarray.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgo/runtime/go-unsafe-newarray.c b/libgo/runtime/go-unsafe-newarray.c index 470ed2d0c72..f4c5595d463 100644 --- a/libgo/runtime/go-unsafe-newarray.c +++ b/libgo/runtime/go-unsafe-newarray.c @@ -9,16 +9,16 @@ #include "go-type.h" #include "interface.h" -/* Implement unsafe.NewArray. */ +/* Implement unsafe_NewArray, called from the reflect package. */ -void *NewArray (struct __go_empty_interface type, int n) - asm ("libgo_unsafe.unsafe.NewArray"); +void *unsafe_NewArray (struct __go_empty_interface type, int n) + asm ("libgo_reflect.reflect.unsafe_NewArray"); /* The dynamic type of the argument will be a pointer to a type descriptor. */ void * -NewArray (struct __go_empty_interface type, int n) +unsafe_NewArray (struct __go_empty_interface type, int n) { const struct __go_type_descriptor *descriptor; |