Commit db30faa0 authored by Matthias Braun's avatar Matthias Braun
Browse files

move set_entity_irg to private API

parent 6032e9e8
...@@ -375,7 +375,6 @@ FIRM_API void set_entity_link(ir_entity *ent, void *l); ...@@ -375,7 +375,6 @@ FIRM_API void set_entity_link(ir_entity *ent, void *l);
* This allows to get from a Call to the called irg. * This allows to get from a Call to the called irg.
*/ */
FIRM_API ir_graph *get_entity_irg(const ir_entity *ent); FIRM_API ir_graph *get_entity_irg(const ir_entity *ent);
FIRM_API void set_entity_irg(ir_entity *ent, ir_graph *irg);
/** A reserved value for "not yet set". */ /** A reserved value for "not yet set". */
#define IR_VTABLE_NUM_NOT_SET ((unsigned)(-1)) #define IR_VTABLE_NUM_NOT_SET ((unsigned)(-1))
......
...@@ -195,6 +195,8 @@ ir_entity *new_label_entity(ir_label_t label); ...@@ -195,6 +195,8 @@ ir_entity *new_label_entity(ir_label_t label);
*/ */
ir_entity *new_d_label_entity(ir_label_t label, dbg_info *dbgi); ir_entity *new_d_label_entity(ir_label_t label, dbg_info *dbgi);
void set_entity_irg(ir_entity *ent, ir_graph *irg);
/* ----------------------- inline functions ------------------------ */ /* ----------------------- inline functions ------------------------ */
static inline int _is_entity(const void *thing) static inline int _is_entity(const void *thing)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment