[svn:parrot] r43684 - branches/gc_encapsulate/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Feb 1 13:18:12 UTC 2010


Author: bacek
Date: Mon Feb  1 13:18:11 2010
New Revision: 43684
URL: https://trac.parrot.org/parrot/changeset/43684

Log:
Remove redundant aligned_mem in gc_reallocate_buffer

Modified:
   branches/gc_encapsulate/src/gc/api.c

Modified: branches/gc_encapsulate/src/gc/api.c
==============================================================================
--- branches/gc_encapsulate/src/gc/api.c	Mon Feb  1 12:38:30 2010	(r43683)
+++ branches/gc_encapsulate/src/gc/api.c	Mon Feb  1 13:18:11 2010	(r43684)
@@ -537,8 +537,7 @@
         pool->possibly_reclaimable   += copysize;
 #endif
 
-    mem = (char *)interp->gc_sys->reallocate_buffer(interp, Buffer_bufstart(buffer), new_size);
-    mem = aligned_mem(buffer, mem);
+    mem = (char *)interp->gc_sys->reallocate_buffer(interp, buffer, new_size);
 
 #if 0
     /* We shouldn't ever have a 0 from size, but we do. If we can track down


More information about the parrot-commits mailing list