[svn:parrot] r39184 - trunk/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue May 26 21:12:15 UTC 2009


Author: chromatic
Date: Tue May 26 21:12:15 2009
New Revision: 39184
URL: https://trac.parrot.org/parrot/changeset/39184

Log:
[PMC] Removed vestigial and bit-rotted code.

Modified:
   trunk/src/pmc/sub.pmc

Modified: trunk/src/pmc/sub.pmc
==============================================================================
--- trunk/src/pmc/sub.pmc	Tue May 26 21:11:56 2009	(r39183)
+++ trunk/src/pmc/sub.pmc	Tue May 26 21:12:15 2009	(r39184)
@@ -264,12 +264,6 @@
          * plain subroutine call
          * create new context, place it in interpreter
          */
-/*#define PREMATURE_OPT*/
-#ifdef PREMATURE_OPT
-        if (caller_ctx->current_sub == SELF)
-            context = Parrot_dup_context(INTERP, caller_ctx);
-        else
-#endif
         context               = Parrot_set_new_context(INTERP, sub->n_regs_used);
         context->current_sub  = SELF;
         context->caller_ctx   = caller_ctx;


More information about the parrot-commits mailing list