parrotcode: Parrot Interpreter - Run Ops and Methods | |
Contents | C |
src/inter_run.c - Parrot Interpreter - Run Ops and Methods
Various functions that call the run loop.
void runops(Interp *interpreter, size_t offset)
void Parrot_runops_fromc(Parrot_Interp interpreter, PMC *sub)
sub
argument is an invocable Sub
PMC.PARROT_INLINE static regsave *save_regs(Parrot_Interp interp, PMC *sub)
PARROT_INLINE static void restore_regs(Parrot_Interp interp, regsave *data)
void mark_saved_regs(Parrot_Interp interpreter)
void Parrot_runops_fromc_save(Parrot_Interp, PMC *sub)
void Parrot_run_meth_fromc_save(Parrot_Interp, PMC *sub, PMC *obj, STRING *meth)
void *Parrot_runops_fromc_args(Parrot_Interp interpreter, PMC *sub, const char *sig, ...)
void *Parrot_runops_fromc_args_save(Parrot_Interp interpreter, PMC *sub, const char *sig, ...)
INTVAL Parrot_runops_fromc_args_save_reti(Parrot_Interp interpreter, PMC *sub, const char *sig, ...)
FLOATVAL Parrot_runops_fromc_args_save_retf(Parrot_Interp interpreter, PMC *sub, const char *sig, ...)
void *Parrot_runops_fromc_arglist_save(Parrot_Interp interpreter, PMC *sub, const char *sig, va_list args)
void *Parrot_run_meth_fromc_args_save(Parrot_Interp interpreter, PMC *sub, PMC *obj, STRING *meth, const char *sig, ...)
INTVAL Parrot_run_meth_fromc_args_save_reti(Parrot_Interp interpreter, PMC *sub, PMC *obj, STRING *meth, const char *sig, ...)
FLOATVAL Parrot_run_meth_fromc_args_save_retf(Parrot_Interp interpreter, PMC *sub, PMC *obj, STRING *meth, const char *sig, ...)
va_args
according to signature the sub
argument is an invocable Sub
PMC.
The _save
variants preserve registers. v ... void return
I ... INTVAL (not Interpreter)
N ... NUMVAL
S ... STRING*
P ... PMC*
include/parrot/interpreter.h, src/interpreter.c.
|