[svn:parrot] r45558 - branches/immutable_strings_part1/src/string
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Apr 11 02:12:52 UTC 2010
Author: bacek
Date: Sun Apr 11 02:12:51 2010
New Revision: 45558
URL: https://trac.parrot.org/parrot/changeset/45558
Log:
Clear more flags in Parrot_str_clone
Modified:
branches/immutable_strings_part1/src/string/api.c
Modified: branches/immutable_strings_part1/src/string/api.c
==============================================================================
--- branches/immutable_strings_part1/src/string/api.c Sun Apr 11 01:18:09 2010 (r45557)
+++ branches/immutable_strings_part1/src/string/api.c Sun Apr 11 02:12:51 2010 (r45558)
@@ -347,6 +347,9 @@
/* Clear COW flag. We own buffer */
PObj_COW_CLEAR(result);
+ PObj_constant_CLEAR(result);
+ PObj_external_CLEAR(result);
+ PObj_sysmem_CLEAR(result);
/* Allocate new chunk of memory */
Parrot_gc_allocate_string_storage(interp, result, alloc_size);
More information about the parrot-commits
mailing list