Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
db30faa0
Commit
db30faa0
authored
Dec 13, 2011
by
Matthias Braun
Browse files
move set_entity_irg to private API
parent
6032e9e8
Changes
2
Show whitespace changes
Inline
Side-by-side
include/libfirm/typerep.h
View file @
db30faa0
...
...
@@ -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.
*/
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". */
#define IR_VTABLE_NUM_NOT_SET ((unsigned)(-1))
...
...
ir/tr/entity_t.h
View file @
db30faa0
...
...
@@ -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
);
void
set_entity_irg
(
ir_entity
*
ent
,
ir_graph
*
irg
);
/* ----------------------- inline functions ------------------------ */
static
inline
int
_is_entity
(
const
void
*
thing
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment