[svn:parrot] r41594 - branches/pcc_reapply/src/ops
allison at svn.parrot.org
allison at svn.parrot.org
Thu Oct 1 19:52:05 UTC 2009
Author: allison
Date: Thu Oct 1 19:52:04 2009
New Revision: 41594
URL: https://trac.parrot.org/parrot/changeset/41594
Log:
[pcc] The merge from trunk incorrectly had get_params and set_returns accessing
the call signature object in the current context instead of the caller's
context.
Modified:
branches/pcc_reapply/src/ops/core.ops
Modified: branches/pcc_reapply/src/ops/core.ops
==============================================================================
--- branches/pcc_reapply/src/ops/core.ops Thu Oct 1 19:15:42 2009 (r41593)
+++ branches/pcc_reapply/src/ops/core.ops Thu Oct 1 19:52:04 2009 (r41594)
@@ -555,7 +555,7 @@
ccont = Parrot_pcc_get_continuation(interp, ctx);
caller_ctx = Parrot_pcc_get_caller_ctx(interp, ctx);
- call_object = Parrot_pcc_get_signature(interp, ctx);
+ call_object = Parrot_pcc_get_signature(interp, caller_ctx);
Parrot_pcc_fill_params_from_op(interp, call_object, signature, raw_params);
@@ -579,7 +579,7 @@
ctx = CURRENT_CONTEXT(interp);
caller_ctx = Parrot_pcc_get_caller_ctx(interp, ctx);
ccont = Parrot_pcc_get_continuation(interp, ctx);
- call_object = Parrot_pcc_get_signature(interp, ctx);
+ call_object = Parrot_pcc_get_signature(interp, caller_ctx);
Parrot_pcc_fill_returns_from_op(interp, call_object, signature, raw_returns);
More information about the parrot-commits
mailing list