Ticket #549: changes_on_pmc_sans_unionval_branch.patch
File changes_on_pmc_sans_unionval_branch.patch, 2.1 KB (added by jessevdam, 12 years ago) |
---|
-
src/string/charset/unicode.c
### Eclipse Workspace Patch 1.0 #P pmc_sans_unionval
440 440 441 441 /* use all available space - see below XXX */ 442 442 /* TODO downcase, titlecase too */ 443 dest_len = PObj_buflen(src) / sizeof (UChar);443 dest_len = Buffer_buflen(src) / sizeof (UChar); 444 444 src_len = src->bufused / sizeof (UChar); 445 445 446 446 /* -
src/gc/alloc_resources.c
873 873 check_memory_pool(Memory_Pool *pool) 874 874 { 875 875 size_t count; 876 Memory_Block * block_walker; 876 877 count = 10000000; /*detect unendless loop just use big enough number*/ 877 878 878 Memory_Block *block_walker = (Memory_Block *)pool->top_block;879 block_walker = (Memory_Block *)pool->top_block; 879 880 while(block_walker != NULL) 880 881 { 881 882 PARROT_ASSERT(block_walker->start == (char *)block_walker + sizeof (Memory_Block)); … … 912 913 if(bufstart == NULL && Buffer_buflen(pobj) == 0) 913 914 return; 914 915 915 if(PObj_external_TEST(pobj) ) /*buffer does not come from the memory pool*/916 if(PObj_external_TEST(pobj) || PObj_sysmem_TEST(pobj)) /*buffer does not come from the memory pool*/ 916 917 { 917 918 if (PObj_is_string_TEST(pobj)) 918 919 { -
tools/build/nativecall.pl
405 405 /b/ && do { 406 406 push @{$temps_ref}, "STRING *t_$temp_num;"; 407 407 push @{$extra_preamble_ref}, "t_$temp_num = GET_NCI_S($reg_num);"; 408 return " PObj_bufstart(t_$temp_num)";408 return "Buffer_bufstart(t_$temp_num)"; 409 409 }; 410 410 /B/ && do { 411 411 push @{$temps_ref}, "char *s_$temp_num;\n char *t_$temp_num;\n void** v_$temp_num = (void **) &t_$temp_num;";