NAME
Parrot::OpTrans::CGP - C Goto Predereferenced Transform
DESCRIPTION
Parrot::OpTrans::CGP inherits from Parrot::OpTrans::CPrederef and Parrot::OpTrans::CGoto to provide predereferenced register addressing and C goto run loop.
Instance Methods
core_type()-
Returns
PARROT_CGP_CORE. suffix()-
The suffix is
'_cgp'. core_prefix()-
The core prefix is
'cgp_'. defines()-
Returns the C
#definemacros required by the ops. goto_address($address)-
Transforms the
goto ADDRESS($address)macro in an ops file into the relevant C code. goto_offset($offset)-
Transforms the
goto OFFSET($offset)macro in an ops file into the relevant C code. goto_pop()-
Transforms the
goto POP()macro in an ops file into the relevant C code.