X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.c;h=7aeb34f90e608b0b0d9b6a06483d7de694e6a6e2;hb=da9c4a1519a03db4b6a4cbd79dff05f69387611f;hp=877420419c3b1067c921c244bc92d4f9f95a54c3;hpb=2da89aec2e7d54d70940cccfa82f74c83e5221eb;p=libfirm diff --git a/ir/tr/tpop.c b/ir/tr/tpop.c index 877420419..7aeb34f90 100644 --- a/ir/tr/tpop.c +++ b/ir/tr/tpop.c @@ -5,22 +5,25 @@ ** */ +/* $Id$ */ + #ifdef HAVE_CONFIG_H # include #endif +# include "misc.h" # include "tpop_t.h" # include "type_t.h" -tp_op *type_class; -tp_op *type_struct; -tp_op *type_method; -tp_op *type_union; -tp_op *type_array; -tp_op *type_enumeration; -tp_op *type_pointer; -tp_op *type_primitive; -tp_op *type_id; +tp_op *type_class; tp_op *get_type_class () { return type_class; } +tp_op *type_struct; tp_op *get_type_struct () { return type_struct; } +tp_op *type_method; tp_op *get_type_method () { return type_method; } +tp_op *type_union; tp_op *get_type_union () { return type_union; } +tp_op *type_array; tp_op *get_type_array () { return type_array; } +tp_op *type_enumeration; tp_op *get_type_enumeration() { return type_enumeration; } +tp_op *type_pointer; tp_op *get_type_pointer () { return type_pointer; } +tp_op *type_primitive; tp_op *get_type_primitive () { return type_primitive; } +tp_op *type_id; tp_op *get_type_id () { return type_id; } tp_op * new_tpop (tp_opcode code, ident *name, size_t attr_size)