X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.c;h=e9c4d4e56491d63be0d9299b16204f0e862cf3f5;hb=823a3abad1ab22cc4db2073410bf8f0e200441bc;hp=217c2b32c220cfad15073d18819be61c175a393c;hpb=8617950507d5cc19c95d53a59e0b1083744d8922;p=libfirm diff --git a/ir/tr/tpop.c b/ir/tr/tpop.c index 217c2b32c..e9c4d4e56 100644 --- a/ir/tr/tpop.c +++ b/ir/tr/tpop.c @@ -1,25 +1,29 @@ /* Copyright (C) 2001 by Universitaet Karlsruhe -** All rights reserved. -** -** Authors: Goetz Lindenmaier -** +* All rights reserved. +* +* Authors: Goetz Lindenmaier +* */ +/* $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_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)