X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgraph.c;h=ba6e16effb6ad1473119f737f51b6ce4e5f1bc43;hb=7d070c58e7bef1ed875fac066b57f29de449724b;hp=c5b4a9c401164239e54fb4c018d63290f0646141;hpb=fb2a783c4d6e8a2c203c6ce9833ac50d381fa2e1;p=libfirm diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index c5b4a9c40..ba6e16eff 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -142,7 +142,7 @@ void irg_set_nloc(ir_graph *res, int n_loc) } /* Allocates a list of nodes: - - The start block containing a start node and Proj nodes for it's four + - The start block containing a start node and Proj nodes for its four results (X, M, P, Tuple). - The end block containing an end node. This block is not matured after new_ir_graph as predecessors need to be added to it. @@ -227,7 +227,6 @@ ir_graph *new_r_ir_graph(ir_entity *ent, int n_loc) projX = new_r_Proj(start, mode_X, pn_Start_X_initial_exec); set_irg_initial_exec (res, projX); set_irg_frame (res, new_r_Proj(start, mode_P_data, pn_Start_P_frame_base)); - set_irg_tls (res, new_r_Proj(start, mode_P_data, pn_Start_P_tls)); set_irg_args (res, new_r_Proj(start, mode_T, pn_Start_T_args)); initial_mem = new_r_Proj(start, mode_M, pn_Start_M); set_irg_initial_mem(res, initial_mem); @@ -495,7 +494,7 @@ long get_irg_graph_nr(const ir_graph *irg) } #endif -int get_irg_idx(const ir_graph *irg) +size_t get_irg_idx(const ir_graph *irg) { return irg->index; } @@ -565,16 +564,6 @@ void (set_irg_frame)(ir_graph *irg, ir_node *node) _set_irg_frame(irg, node); } -ir_node *(get_irg_tls)(const ir_graph *irg) -{ - return _get_irg_tls(irg); -} - -void (set_irg_tls)(ir_graph *irg, ir_node *node) -{ - _set_irg_tls(irg, node); -} - ir_node *(get_irg_initial_mem)(const ir_graph *irg) { return _get_irg_initial_mem(irg);