NAME
Parrot::OpTrans::C - Ops to C Code Generation
DESCRIPTION
Parrot::OpTrans::C
inherits from Parrot::OpTrans
to provide a function-based (slow or fast core) run loop.
Instance Methods
core_type()
-
Returns
PARROT_FUNCTION_CORE
. core_prefix()
-
Returns an empty string.
defines()
-
Returns the C
#define
macros for register access etc. gen_goto($where)
-
Reimplements the superclass method so that
$where
is suitably cast. expr_address($address)
-
Returns the C code for
ADDRESS($address)
. Called bygoto_address()
. expr_offset($offset)
-
Returns the C code for
OFFSET($offset)
. Called bygoto_offset()
. expr_pop()
-
Returns the C code for
POP()
. Called bygoto_offset()
. access_arg($type, $value, $op)
-
Returns the C code for the specified op argument type (see
Parrot::OpTrans
) and value.$op
is an instance ofParrot::Op
. restart_offset($offset)
-
Returns the C code for
restart OFFSET($offset)
. restart_address($address)
-
Returns the C code for
restart ADDRESS($address)
.