[svn:parrot] r44210 - branches/sys_mem_reduce/src/runcore

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Feb 19 23:02:25 UTC 2010


Author: bacek
Date: Fri Feb 19 23:02:24 2010
New Revision: 44210
URL: https://trac.parrot.org/parrot/changeset/44210

Log:
Remove old commented-out code.

Modified:
   branches/sys_mem_reduce/src/runcore/cores.c

Modified: branches/sys_mem_reduce/src/runcore/cores.c
==============================================================================
--- branches/sys_mem_reduce/src/runcore/cores.c	Fri Feb 19 23:02:05 2010	(r44209)
+++ branches/sys_mem_reduce/src/runcore/cores.c	Fri Feb 19 23:02:24 2010	(r44210)
@@ -999,16 +999,8 @@
         const size_t N  = interp->code->base.size;
         size_t       i, n_pics;
 
-/* Parrot_memalign_if_possible in OpenBSD allocates 256 if you ask for 312
-   -- Need to verify this, it may have been a bug elsewhere. If it works now,
-   we can remove the mem_sys_allocate_zeroed line below. */
-
-#if 0
-        void **temp = (void **)mem_sys_allocate_zeroed(N * sizeof (void *));
-#else
         void **temp = (void **)Parrot_memalign_if_possible(256,
                 N * sizeof (void *));
-#endif
         /* calc and remember pred_offset */
         CONTEXT(interp)->pred_offset = pc - (opcode_t *)temp;
 


More information about the parrot-commits mailing list