parrotcode: CGoto Transform | |
Contents | Perl Modules |
Parrot::OpTrans::CGoto - CGoto Transform
Used to generate C code from Parrot operations.
Parrot::OpTrans::CGoto
inherits from Parrot::OpTrans
to provide a C goto
run loop.
suffix()
'_cg'
.core_prefix()
'cg_'
.core_type()
PARROT_CGOTO_CORE
.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)
OFFSET($offset)
macro in an ops file into the relevant C code.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, $num, $op)
Parrot::OpTrans
) and value.
$op
is an instance of Parrot::Op
.restart_address($address)
restart ADDRESS($address)
.restart_offset($offset)
restart OFFSET($offset)
.run_core_func_decl($core)
ops_addr_decl($base_suffix)
run_core_func_start()
run_core_after_addr_table($base_suffix)
run_core_finish($base)
init_func_init1($base)
init_set_dispatch($base_suffix)
|