Skip to content

Commit

Permalink
Make LoritoContext PMC compile
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Feb 11, 2011
1 parent 385209c commit f75b446
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pmc/loritocontext.pmc
Expand Up @@ -56,13 +56,21 @@ pmclass LoritoContext auto_attrs provides invokable {
ATTR PMC *exception_payload; /* Exception Payload */
ATTR PMC *REPR; /* in-memory REPResentation */
ATTR PMC *HOW; /* Higher Order Workings of an object */
ATTR opcode_t *address; /* start of bytecode, addr to continue */
ATTR
ATTR opcode_t *current_pc; /* program counter of Sub invocation */
ATTR opcode_t *out_pc; /* program counter to jump to */
ATTR opcode_t *eh_pc; /* program counter of error handler */
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 int runloop_id; /* id of the creating runloop. */
ATTR PMC *to_ctx; /* pointer to dest context */
ATTR PackFile_ByteCode *seg; /* bytecode segment */
ATTR PMC *to_call_object; /* pointer to CallSignature */
/* a Continuation keeps the from_ctx alive */
ATTR PMC *from_ctx; /* sub, this cont is returning from */
/*

=item C<void init()>
Expand Down

0 comments on commit f75b446

Please sign in to comment.