parrotcode: C Switch Transform | |
Contents | Perl Modules |
Parrot::OpTrans::CSwitch - C Switch Transform
Parrot::OpTrans::CSwitch
inherits from Parrot::OpTrans::CPrederef
to provide a mixture of predereferenced register addressing and a switch
ed run loop.
core_type()
PARROT_SWITCH_CORE
.core_prefix()
'switch_'
.suffix()
'_switch'
.defines()
#define
macros required by the ops.goto_address($address)
goto ADDRESS($address)
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.run_core_func_decl($core)
run_core_func_start()
run_core_split($base)
run_core_finish($base)
|