parrotcode: bcg.c Byte Code Generator (BCG) Public API implementation. | |
Contents | Compilers |
bcg.c Byte Code Generator (BCG) Public API implementation.
The functions in this file implement the API defined in bcg.h, the public API for BCG.
List of methods imlemented in this file.
BCG_info *BCG_create(void)
void BCG_destroy(BCG_info *bcg_info)
void BCG_start_code_gen(BCG_info *bcg_info)
void BCG_end_code_gen(BCG_info *bcg_info)
void BCG_start_sub(BCG_info *bcg_info, char *sub_name, char *pragma)
void BCG_end_sub(BCG_info *bcg_info)
void BCG_start_call(BCG_info *bcg_info, char *sub_name)
void BCG_end_call(BCG_info *bcg_info)
void BCG_start_op(BCG_info *bcg_info, char *op_name)
void BCG_end_op(BCG_info *bcg_info)
void BCG_var(BCG_info *bcg_info, char *var_name, char var_type)
void BCG_val(BCG_info *bcg_info, char *val, char val_type)
void BCG_label(BCG_info *bcg_info, char *label)
void BCG_print_pasm(BCG_info *bcg_info)
bcg_info_private *bcg_info_private_create(BCG_info *bcg_info)
void bcg_info_private_destroy(BCG_info *bcg_info, bcg_info_private *bcg_info_priv)
void bcg_info_add_unit(BCG_info *bcg_info, bcg_unit *unit)
static void set_state(BCG_info *bcg_info, bcg_state state)
static void unset_state(BCG_info *bcg_info, bcg_state state)
static int in_state(BCG_info *bcg_info, bcg_state state)
Copyright (C) 2006, The Perl Foundation.
This is free software; you may redistribute it and/or modify it under the same terms as Parrot.
Vishal Soni <vishalrsoni@gmail.com>
|