Skip to content

Commit

Permalink
consting
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Mar 26, 2012
1 parent bc6c413 commit dbc0db7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/call/context.c
Expand Up @@ -838,10 +838,11 @@ void
Parrot_pcc_reuse_continuation(PARROT_INTERP, ARGIN(PMC *call_context), ARGIN_NULLOK(opcode_t *next)) Parrot_pcc_reuse_continuation(PARROT_INTERP, ARGIN(PMC *call_context), ARGIN_NULLOK(opcode_t *next))
{ {
ASSERT_ARGS(Parrot_pcc_reuse_continuation) ASSERT_ARGS(Parrot_pcc_reuse_continuation)
Parrot_CallContext_attributes *c = CONTEXT_STRUCT(call_context); Parrot_CallContext_attributes * const c = CONTEXT_STRUCT(call_context);
INTVAL reuse = 0; INTVAL reuse = 0;

if (!PMC_IS_NULL(c->continuation)) { if (!PMC_IS_NULL(c->continuation)) {
PMC *cont = c->continuation; PMC * const cont = c->continuation;
INTVAL invoked; INTVAL invoked;
GETATTR_Continuation_invoked(interp, cont, invoked); GETATTR_Continuation_invoked(interp, cont, invoked);
/* Reuse if invoked. And not tailcalled? */ /* Reuse if invoked. And not tailcalled? */
Expand Down

0 comments on commit dbc0db7

Please sign in to comment.