{
int i;
alloc_pto_t *alloc_pto = obstack_alloc (pto_obst, sizeof (alloc_pto_t));
- type *tp;
+ ir_type *tp;
assert (op_Alloc == get_irn_op(alloc));
static pto_t* new_symconst_pto (ir_node *symconst)
{
pto_t *pto;
- entity *ent;
+ ir_entity *ent;
desc_t *desc = NULL;
assert (op_SymConst == get_irn_op(symconst));
static void clear_type_link (type_or_ent *thing, void *_unused)
{
if (is_type (thing)) {
- type *tp = (type*) thing;
+ ir_type *tp = (ir_type*) thing;
if (is_Class_type (tp)) {
DBGPRINT (1, (stdout, "%s (\"%s\")\n",
set_type_link (tp, NULL);
}
} else if (is_entity (thing)) {
- entity *ent = (entity*) thing;
+ ir_entity *ent = (ir_entity*) thing;
DBGPRINT (1, (stdout, "%s (\"%s\")\n",
__FUNCTION__,
{
reset_env_t *reset_env = (reset_env_t*) env;
int ctx_idx = reset_env->ctx_idx;
- opcode op = get_irn_opcode (node);
+ ir_opcode op = get_irn_opcode (node);
/* HERE ("start"); */
init_env_t *init_env = (init_env_t*) env;
int n_ctxs = init_env->n_ctxs;
- opcode op = get_irn_opcode (node);
+ ir_opcode op = get_irn_opcode (node);
switch (op) {
case (iro_SymConst): {
if (mode_is_reference (get_irn_mode (node))) {
- entity *ent = get_SymConst_entity (node);
- type *tp = get_entity_type (ent);
+ ir_entity *ent = get_SymConst_entity (node);
+ ir_type *tp = get_entity_type (ent);
if (is_Class_type (tp) || is_Pointer_type (tp)) {
pto_t *symconst_pto = new_symconst_pto (node);
set_node_pto (node, symconst_pto);
case (iro_Alloc): {
alloc_pto_t *alloc_pto = new_alloc_pto (node, n_ctxs);
- type *tp;
+ ir_type *tp;
set_alloc_pto (node, alloc_pto);
{
/* HERE ("start"); */
- entity *ent = get_irg_entity (graph);
- type *mtp = get_entity_type (ent);
+ ir_entity *ent = get_irg_entity (graph);
+ ir_type *mtp = get_entity_type (ent);
ir_node **args = find_irg_args (graph);
- type *ctp = get_method_param_type (mtp, 1); /* ctp == char[]*[]* */
+ ir_type *ctp = get_method_param_type (mtp, 1); /* ctp == char[]*[]* */
desc_t *arg_desc;
pto_t *arg_pto;
const int n_ctxs = ginfo->n_ctxs;
/* only for debugging stuff: */
- entity *ent = get_irg_entity (graph);
+ ir_entity *ent = get_irg_entity (graph);
const char *ent_name = (char*) get_entity_name (ent);
const char *own_name = (char*) get_type_name (get_entity_owner (ent));
\f
/*
$Log$
+ Revision 1.23 2007/01/16 15:45:42 beck
+ renamed type opcode to ir_opcode
+
+ Revision 1.22 2006/12/13 19:46:47 beck
+ rename type entity into ir_entity
+
+ Revision 1.21 2006/06/08 10:49:07 beck
+ renamed type to ir_type
+
Revision 1.20 2005/12/05 12:19:54 beck
added missing include <assert.h> (not anymore included in libFirm)