From f038dae646bac2b31be98ab592c0e5206d2d96f5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 6 Nov 2013 19:49:01 +0000 Subject: libgo: Update to October 24 version of master library. From-SVN: r204466 --- libgo/runtime/go-byte-array-to-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgo/runtime/go-byte-array-to-string.c') diff --git a/libgo/runtime/go-byte-array-to-string.c b/libgo/runtime/go-byte-array-to-string.c index 0cd63c7..088b786 100644 --- a/libgo/runtime/go-byte-array-to-string.c +++ b/libgo/runtime/go-byte-array-to-string.c @@ -16,7 +16,7 @@ __go_byte_array_to_string (const void* p, intgo len) String ret; bytes = (const unsigned char *) p; - retdata = runtime_mallocgc ((uintptr) len, FlagNoPointers, 1, 0); + retdata = runtime_mallocgc ((uintptr) len, 0, FlagNoScan); __builtin_memcpy (retdata, bytes, len); ret.str = retdata; ret.len = len; -- cgit v1.1