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

@ -15,7 +15,7 @@ __go_string_to_byte_array (struct __go_string str)
unsigned char *data;
struct __go_open_array ret;
data = (unsigned char *) runtime_mallocgc (str.__length, RefNoPointers, 1, 0);
data = (unsigned char *) runtime_mallocgc (str.__length, FlagNoPointers, 1, 0);
__builtin_memcpy (data, str.__data, str.__length);
ret.__values = (void *) data;
ret.__count = str.__length;