[svn:parrot] r45035 - trunk/src/pmc
petdance at svn.parrot.org
petdance at svn.parrot.org
Thu Mar 18 22:07:18 UTC 2010
Author: petdance
Date: Thu Mar 18 22:07:17 2010
New Revision: 45035
URL: https://trac.parrot.org/parrot/changeset/45035
Log:
localizing cur_ctx
Modified:
trunk/src/pmc/exception.pmc
Modified: trunk/src/pmc/exception.pmc
==============================================================================
--- trunk/src/pmc/exception.pmc Thu Mar 18 22:01:23 2010 (r45034)
+++ trunk/src/pmc/exception.pmc Thu Mar 18 22:07:17 2010 (r45035)
@@ -733,7 +733,6 @@
METHOD backtrace() {
PMC *result = PMCNULL;
PMC *resume;
- PMC *cur_ctx;
Parrot_Continuation_attributes *cont;
/* Get starting context, then loop over them. */
@@ -745,6 +744,7 @@
Parrot_pcc_invoke_method_from_c_args(INTERP, cont->to_ctx, CONST_STRING(interp, "backtrace"), "P->P", resume, &result);
}
else {
+ PMC *cur_ctx;
/* No return continuation. Assuming we're being called */
cont = NULL;
GET_ATTR_thrower(interp, SELF, cur_ctx);
More information about the parrot-commits
mailing list