[svn:parrot] r41044 - branches/pluggable_runcore/src/runcore
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Sep 6 06:50:16 UTC 2009
Author: bacek
Date: Sun Sep 6 06:50:15 2009
New Revision: 41044
URL: https://trac.parrot.org/parrot/changeset/41044
Log:
Fix CONTEXT vs CURRENT_CONTEXT usage.
Modified:
branches/pluggable_runcore/src/runcore/cores.c
Modified: branches/pluggable_runcore/src/runcore/cores.c
==============================================================================
--- branches/pluggable_runcore/src/runcore/cores.c Sun Sep 6 06:45:49 2009 (r41043)
+++ branches/pluggable_runcore/src/runcore/cores.c Sun Sep 6 06:50:15 2009 (r41044)
@@ -1144,7 +1144,7 @@
runcore->time[runcore->level] = runcore->runcore_start - runcore->op_start;
}
- Parrot_Context_get_info(interp, CONTEXT(interp), &postop_info);
+ Parrot_Context_get_info(interp, CURRENT_CONTEXT(interp), &postop_info);
argv = VTABLE_get_pmc_keyed_int(interp, interp->iglobals, IGLOBALS_ARGV_LIST);
@@ -1193,7 +1193,7 @@
/* avoid an extra call to Parrot_Context_get_info */
mem_sys_memcopy(&preop_info, &postop_info, sizeof (Parrot_Context_info));
- Parrot_Context_get_info(interp, CONTEXT(interp), &postop_info);
+ Parrot_Context_get_info(interp, CURRENT_CONTEXT(interp), &postop_info);
CONTEXT(interp)->current_pc = pc;
preop_sub = CONTEXT(interp)->current_sub;
More information about the parrot-commits
mailing list