X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.c;h=255a0713c020072faf9acbdbbd2904a248a8f255;hb=e683a3e23ede57c176578db22c4a72050f101369;hp=fd7f78b424faaac2277ea62e8aef17c247e1c008;hpb=431cb9dad40cf6ecf37291738b6ec971749feb39;p=libfirm diff --git a/ir/tr/tpop.c b/ir/tr/tpop.c index fd7f78b42..255a0713c 100644 --- a/ir/tr/tpop.c +++ b/ir/tr/tpop.c @@ -5,10 +5,13 @@ ** */ +/* $Id$ */ + #ifdef HAVE_CONFIG_H # include #endif +# include "misc.h" # include "tpop_t.h" # include "type_t.h" @@ -20,6 +23,7 @@ tp_op *type_array; tp_op *type_enumeration; tp_op *type_pointer; tp_op *type_primitive; +tp_op *type_id; tp_op * new_tpop (tp_opcode code, ident *name, size_t attr_size) @@ -44,6 +48,7 @@ init_tpop(void) type_enumeration = new_tpop (tpo_enumeration, id_from_str("enumeration",11), sizeof (enm_attr)); type_pointer = new_tpop (tpo_pointer , id_from_str("pointer" , 7), sizeof (ptr_attr)); type_primitive = new_tpop (tpo_primitive , id_from_str("primitive" , 9), /* sizeof (pri_attr) */ 0); + type_id = new_tpop (tpo_id , id_from_str("type_id" , 7), /* sizeof (id_attr) */ 0); } /* Returns the string for the tp_opcode. */