X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ftyperep.h;h=6c01a9de3e6b3dcb79d8ae56f42e6404704a4990;hb=9ec98298a0bf99ccb9533365dd7245e0a380f3df;hp=c3906c7c2e048bf9c60b4de3598049ddd11b7f85;hpb=49088685d60ed98da2017d2f2cda461d130bc3c9;p=libfirm diff --git a/include/libfirm/typerep.h b/include/libfirm/typerep.h index c3906c7c2..6c01a9de3 100644 --- a/include/libfirm/typerep.h +++ b/include/libfirm/typerep.h @@ -745,22 +745,6 @@ typedef enum acc_bits { #define IS_WRITTEN(a) ((a) & ptr_access_write) #define IS_STORED(a) ((a) & ptr_access_store) -/** - * Supported image sections. - * Currently only methods can be placed in different sections. - */ -typedef enum { - section_text, /**< The code segment. This is the default for methods. */ - section_constructors /**< The constructor section. */ -} ir_img_section; - -/** Returns the section of a method. */ -ir_img_section get_method_img_section(const ir_entity *method); - -/** Sets the section of a method. */ -void set_method_img_section(ir_entity *method, ir_img_section section); - - /** * @page tyop type operations * This module specifies the kinds of types available in firm. @@ -2419,6 +2403,8 @@ ir_type *new_type_frame(ident *name); /** * Makes a clone of a frame type. + * Sets entity links from old frame entities to new onces and + * vice versa. */ ir_type *clone_frame_type(ir_type *type);