[svn:parrot] r49155 - branches/gc_massacre/src/string

bacek at svn.parrot.org bacek at svn.parrot.org
Sun Sep 19 08:56:47 UTC 2010


Author: bacek
Date: Sun Sep 19 08:56:47 2010
New Revision: 49155
URL: https://trac.parrot.org/parrot/changeset/49155

Log:
Start sharing string buffers again.

Modified:
   branches/gc_massacre/src/string/api.c

Modified: branches/gc_massacre/src/string/api.c
==============================================================================
--- branches/gc_massacre/src/string/api.c	Sun Sep 19 08:36:30 2010	(r49154)
+++ branches/gc_massacre/src/string/api.c	Sun Sep 19 08:56:47 2010	(r49155)
@@ -370,9 +370,6 @@
     STRING *d;
     const int is_movable = PObj_is_movable_TESTALL(s);
 
-    /* XXX Don't use shared buffers */
-    return Parrot_str_clone(interp, s);
-
     /* We set COW flag to avoid cloning buffer in compact_pool */
 
     d = Parrot_gc_new_string_header(interp,


More information about the parrot-commits mailing list