X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespill.h;h=17eba7a2ab52fbc4546a6979fb314a632b38eae4;hb=80a6158fdd766f42ee6c508a773bc114ff1b61f3;hp=c6e4b7e5a00d31af5892bea389fbfa8f97b2c369;hpb=afb06beb9eb5c7bb28a86f6b18bdd60b2247dff8;p=libfirm diff --git a/ir/be/bespill.h b/ir/be/bespill.h index c6e4b7e5a..17eba7a2a 100644 --- a/ir/be/bespill.h +++ b/ir/be/bespill.h @@ -37,16 +37,16 @@ DEBUG_ONLY(void be_set_spill_env_dbg_module(spill_env_t *env, firm_dbg_module_t /** * Inserts a new entry into the list of reloads to place (the real nodes will * be created when be_insert_spills_reloads is run). You don't have to - * explicitely create spill nodes, they will be created automatically after + * explicitly create spill nodes, they will be created automatically after * the definition of a value as soon as a reload is created. (we should add a * possibility for explicit spill placement in the future) */ -void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before); +void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before, const arch_register_class_t *reload_cls); /** * Analog to be_add_reload, but places the reload "on an edge" between 2 blocks */ -void be_add_reload_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, int pos); +void be_add_reload_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, int pos, const arch_register_class_t *reload_cls); /** * The main function that places real spills/reloads (or rematerializes values)