Unify handling of runtime support functions.

This introduces the new approach, and rewrites the lowering
code which uses runtime functions.  The code which calls
runtime functions at GENERIC conversion time is not yet
rewritten.

From-SVN: r172396
This commit is contained in:
Ian Lance Taylor 2011-04-13 21:00:59 +00:00 committed by Ian Lance Taylor
parent 516d9427ed
commit b39c10b813
24 changed files with 1085 additions and 512 deletions

View file

@ -9,7 +9,7 @@
#include "malloc.h"
struct __go_string
__go_byte_array_to_string (const void* p, size_t len)
__go_byte_array_to_string (const void* p, int len)
{
const unsigned char *bytes;
unsigned char *retdata;