X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespillslots.h;h=752813ce3d98d30bba36eccaebb6e6ef8ce123c6;hb=0c2e8bedc56cb9dba9b2544927a8093ddb7ee614;hp=456dc4fb5b20152a2ddf1228d2508b75a5c8ffb6;hpb=ce972cd9312331b088fdf64d9c7fbfe004906c95;p=libfirm diff --git a/ir/be/bespillslots.h b/ir/be/bespillslots.h index 456dc4fb5..752813ce3 100644 --- a/ir/be/bespillslots.h +++ b/ir/be/bespillslots.h @@ -27,6 +27,7 @@ #ifndef FIRM_BE_BESPILLSLOTS_H #define FIRM_BE_BESPILLSLOTS_H +#include #include "beirg.h" typedef struct be_fec_env_t be_fec_env_t; @@ -60,17 +61,7 @@ typedef void (*set_frame_entity_func)(ir_node *node, ir_entity *entity); * Assigned frame entities to all the nodes added by be_node_needs_frame_entity. * Adds memory perms where needed. */ -void be_assign_entities(be_fec_env_t *env, set_frame_entity_func set_frame); - -//------------------------------------------------------------------- -// Old API -//------------------------------------------------------------------- - -/** - * Assigns frame entities to all spill nodes in the irg. - * Coalesces spillslots and minimizes the number of memcopies induced by - * memory-phis. - */ -void be_coalesce_spillslots(ir_graph *irg); +void be_assign_entities(be_fec_env_t *env, set_frame_entity_func set_frame, + bool alloc_entities_at_begin); #endif