[svn:parrot] r43027 - branches/context_unify3/src/call

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Dec 12 20:51:18 UTC 2009


Author: bacek
Date: Sat Dec 12 20:51:17 2009
New Revision: 43027
URL: https://trac.parrot.org/parrot/changeset/43027

Log:
Clear registers after allocation.

Modified:
   branches/context_unify3/src/call/context.c

Modified: branches/context_unify3/src/call/context.c
==============================================================================
--- branches/context_unify3/src/call/context.c	Sat Dec 12 20:41:13 2009	(r43026)
+++ branches/context_unify3/src/call/context.c	Sat Dec 12 20:51:17 2009	(r43027)
@@ -480,6 +480,8 @@
 
     /* ctx.bp_ps points to S0, which has Px on the left */
     ctx->bp_ps.regs_s = (STRING **)((char *)ctx->registers + size_nip);
+
+    clear_regs(interp, pmcctx);
 }
 
 


More information about the parrot-commits mailing list