[svn:parrot] r49407 - in trunk/src: call pmc
cotto at svn.parrot.org
cotto at svn.parrot.org
Sat Oct 2 07:22:07 UTC 2010
Author: cotto
Date: Sat Oct 2 07:22:06 2010
New Revision: 49407
URL: https://trac.parrot.org/parrot/changeset/49407
Log:
comment alignment cleanup; no functional changes
Modified:
trunk/src/call/pcc.c
trunk/src/pmc/callcontext.pmc
Modified: trunk/src/call/pcc.c
==============================================================================
--- trunk/src/call/pcc.c Sat Oct 2 03:48:10 2010 (r49406)
+++ trunk/src/call/pcc.c Sat Oct 2 07:22:06 2010 (r49407)
@@ -309,7 +309,7 @@
Parrot_pcc_set_signature(interp, ctx, call_object);
Parrot_pcc_set_continuation(interp, ctx, ret_cont);
- interp->current_cont = NEED_CONTINUATION;
+ interp->current_cont = NEED_CONTINUATION;
PARROT_CONTINUATION(ret_cont)->from_ctx = ctx;
/* Invoke the function */
Modified: trunk/src/pmc/callcontext.pmc
==============================================================================
--- trunk/src/pmc/callcontext.pmc Sat Oct 2 03:48:10 2010 (r49406)
+++ trunk/src/pmc/callcontext.pmc Sat Oct 2 07:22:06 2010 (r49407)
@@ -505,39 +505,38 @@
pmclass CallContext provides array provides hash auto_attrs {
/* Context attributes */
- ATTR PMC *caller_ctx; /* caller context */
+ ATTR PMC *caller_ctx; /* caller context */
- ATTR void *registers; /* pointer to allocated registers */
- ATTR Regs_ni bp; /* pointers to FLOATVAL & INTVAL */
- ATTR Regs_ps bp_ps; /* pointers to PMC & STR */
-
- ATTR UINTVAL n_regs_used[4]; /* INSP in PBC points to Sub */
- ATTR PMC *lex_pad; /* LexPad PMC */
- ATTR PMC *outer_ctx; /* outer context, if a closure */
+ ATTR void *registers; /* pointer to allocated registers */
+ ATTR Regs_ni bp; /* pointers to FLOATVAL & INTVAL */
+ ATTR Regs_ps bp_ps; /* pointers to PMC & STR */
+
+ ATTR UINTVAL n_regs_used[4]; /* INSP in PBC points to Sub */
+ ATTR PMC *lex_pad; /* LexPad PMC */
+ ATTR PMC *outer_ctx; /* outer context, if a closure */
/* new call scheme and introspective variables */
- ATTR PMC *current_sub; /* the Sub we are executing */
+ ATTR PMC *current_sub; /* the Sub we are executing */
/* for now use a return continuation PMC */
- ATTR PMC *handlers; /* local handlers for the context */
- ATTR PMC *current_cont; /* the return continuation PMC */
- ATTR PMC *current_object; /* current object if a method call */
- ATTR PMC *current_namespace; /* The namespace we're currently in */
- ATTR opcode_t *current_pc; /* program counter of Sub invocation */
- ATTR PMC *current_sig; /* temporary CallContext PMC for active call */
+ ATTR PMC *handlers; /* local handlers for the context */
+ ATTR PMC *current_cont; /* the return continuation PMC */
+ ATTR PMC *current_object; /* current object if a method call */
+ ATTR PMC *current_namespace; /* The namespace we're currently in */
+ ATTR opcode_t *current_pc; /* program counter of Sub invocation */
+ ATTR PMC *current_sig; /* temporary CallContext PMC for active call */
/* deref the constants - we need them all the time */
ATTR FLOATVAL *num_constants;
ATTR STRING **str_constants;
ATTR PMC **pmc_constants;
- ATTR INTVAL current_HLL; /* see also src/hll.c */
+ ATTR INTVAL current_HLL; /* see also src/hll.c */
- ATTR UINTVAL warns; /* Keeps track of what warnings
- * have been activated */
- ATTR UINTVAL errors; /* fatals that can be turned off */
- ATTR UINTVAL trace_flags;
- ATTR UINTVAL recursion_depth; /* Sub call recursion depth */
+ ATTR UINTVAL warns; /* Keeps track of activated warnings */
+ ATTR UINTVAL errors; /* fatals that can be turned off */
+ ATTR UINTVAL trace_flags;
+ ATTR UINTVAL recursion_depth; /* Sub call recursion depth */
/* Storage for arguments */
ATTR struct Pcc_cell *positionals; /* array of positionals */
More information about the parrot-commits
mailing list