[svn:parrot] r40955 - branches/context_pmc3/src/runcore

bacek at svn.parrot.org bacek at svn.parrot.org
Thu Sep 3 10:58:04 UTC 2009


Author: bacek
Date: Thu Sep  3 10:58:04 2009
New Revision: 40955
URL: https://trac.parrot.org/parrot/changeset/40955

Log:
Remove check of 'pc' in fastcore. Put TOD mark instead

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

Modified: branches/context_pmc3/src/runcore/cores.c
==============================================================================
--- branches/context_pmc3/src/runcore/cores.c	Thu Sep  3 10:57:41 2009	(r40954)
+++ branches/context_pmc3/src/runcore/cores.c	Thu Sep  3 10:58:04 2009	(r40955)
@@ -295,10 +295,13 @@
     Parrot_pcc_set_pc(interp, CURRENT_CONTEXT(interp), NULL);
 
     while (pc) {
+        /* TODO
+         * Decide do we need check here.
+         * Fast-core cause segfaults even on test suite
         if (pc < code_start || pc >= code_end)
             Parrot_ex_throw_from_c_args(interp, NULL, 1,
                 "attempt to access code outside of current code segment");
-
+        */
         DO_OP(pc, interp);
     }
 


More information about the parrot-commits mailing list