parrotcode: PIC (Polymorphic Inline Cache) opcode variants | |
Contents | Ops |
pic.ops - PIC (Polymorphic Inline Cache) opcode variants
During predereferencing opcodes that allow caching are rewritten so that equivalent opcodes in this file are used. User code MUST never emit these opcodes directly.
These operations take an infix operation number and PMC arguments.
pc = func(interp, 0, **args)
.
args[0] holds the address of the function result,
args[1..] are function arguments,
both according to the get_results
and set_args
opcodes.
The function is a C interface function (or NCI) or a JITed PIR function.
args[n+1] holds the pc
of the next opcode and is usually just returned.Copyright (C) 2005-2007, The Perl Foundation.
This program is free software. It is subject to the same license as the Parrot interpreter itself.
|