[svn:parrot] r41714 - branches/pcc_reapply/src/call
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Oct 4 22:22:39 UTC 2009
Author: bacek
Date: Sun Oct 4 22:22:38 2009
New Revision: 41714
URL: https://trac.parrot.org/parrot/changeset/41714
Log:
Runops for Eval PMC in invoke_from_sig_object. Fixes t/src/embed.t
Modified:
branches/pcc_reapply/src/call/pcc.c
Modified: branches/pcc_reapply/src/call/pcc.c
==============================================================================
--- branches/pcc_reapply/src/call/pcc.c Sun Oct 4 21:59:34 2009 (r41713)
+++ branches/pcc_reapply/src/call/pcc.c Sun Oct 4 22:22:38 2009 (r41714)
@@ -232,7 +232,8 @@
/* PIR Subs need runops to run their opcodes. Methods and NCI subs
* don't. */
- if (sub_obj->vtable->base_type == enum_class_Sub
+ if ((sub_obj->vtable->base_type == enum_class_Sub
+ || (sub_obj->vtable->base_type == enum_class_Eval))
&& PMC_IS_NULL(interp->current_object)) {
Parrot_runcore_t *old_core = interp->run_core;
const opcode_t offset = dest - interp->code->base.data;
More information about the parrot-commits
mailing list