the code heap with dead PICs that will be freed on the next
GC, we add them to the free list immediately. */
else if(compiled->block.type == PIC_TYPE)
- {
- fflush(stdout);
heap_free(&code,&compiled->block);
- }
else
{
iterate_relocations(compiled,update_word_references_step);
static bool reallot_string_in_place_p(string *str, cell capacity)
{
- return in_zone(&nursery,str) && capacity <= string_capacity(str);
+ return in_zone(&nursery,str)
+ && (str->aux == F || in_zone(&nursery,untag<byte_array>(str->aux)))
+ && capacity <= string_capacity(str);
}
string* reallot_string(string *str_, cell capacity)