src/pmc/delegate.pmc

NAME

src/pmc/delegate.pmc - delegate PMC

DESCRIPTION

Delegate each and every function to parrot bytecode.

Almost all methods are auto-generated in lib/Parrot/Pmc2c.pm

Functions

Methods

PMC *instantiate(PMC *sig)

Calls the delegated __instantiate method if it exists.

RT#46701 Actually the PMC compiler should emit different code, if a method is present in src/pmc/default.pmc. Some defaulted methods like this one have useful defaults and don't throw exceptions.

opcode_t *invoke(void *next)

Invokes a subroutine.


parrot