Update to current version of Go library (revision 94d654be2064).

From-SVN: r171076
This commit is contained in:
Ian Lance Taylor 2011-03-16 23:05:44 +00:00
parent f617201f55
commit 5133f00ef8
293 changed files with 16312 additions and 4920 deletions

View file

@ -16,7 +16,7 @@ __go_byte_array_to_string (const void* p, size_t len)
struct __go_string ret;
bytes = (const unsigned char *) p;
retdata = runtime_mallocgc (len, RefNoPointers, 1, 0);
retdata = runtime_mallocgc (len, FlagNoPointers, 1, 0);
__builtin_memcpy (retdata, bytes, len);
ret.__data = retdata;
ret.__length = len;