[svn:parrot] r47758 - trunk/src/call
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Tue Jun 22 14:59:41 UTC 2010
Author: chromatic
Date: Tue Jun 22 14:59:41 2010
New Revision: 47758
URL: https://trac.parrot.org/parrot/changeset/47758
Log:
[PCC] Removed (apparent) duplicate register clearing in init_context(). The
result is that invoking the null function is about 1.6% faster after these
three commits. This commit is the riskiest; if anything has problems, it's
likely this one.
Modified:
trunk/src/call/context.c
Modified: trunk/src/call/context.c
==============================================================================
--- trunk/src/call/context.c Tue Jun 22 14:59:34 2010 (r47757)
+++ trunk/src/call/context.c Tue Jun 22 14:59:41 2010 (r47758)
@@ -303,9 +303,6 @@
ctx->recursion_depth = old->recursion_depth;
ctx->caller_ctx = pmcold;
}
-
- /* other stuff is set inside Sub.invoke */
- clear_regs(interp, ctx);
}
More information about the parrot-commits
mailing list