parrotcode: Transform Parrot Bytecode To C | |
Contents | Perl Modules |
Parrot::OpTrans::Compiled - Transform Parrot Bytecode To C
Parrot::OpTrans::Compiled
inherits from Parrot::OpTrans
and is used by tools/build/pbc2c.pl to transform Parrot bytecode to a C code run loop.
defines()
#define
macros required by the ops.pc($pc)
pc()
args(@args)
args()
arg($index)
$index
.goto_address($address)
goto ADDRESS($address)
macro in an ops file into the relevant C code.expr_offset($offset)
start_code
,
because the ret
instruction may be in a different runops core.
ret
will always treat saved addresses as relative to start_code
,
because that interpretation is global across all runops cores.goto_offset($offset)
goto OFFSET($offset)
macro in an ops file into the relevant C code.goto_pop()
goto POP()
macro in an ops file into the relevant C code.access_arg($type, $value, $op)
Parrot::OpTrans
) and value.
$op
is an instance of Parrot::Op
.restart_address($address)
restart ADDRESS($address)
.restart_offset($offset)
restart OFFSET($offset)
.
|