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
362faf27
Commit
362faf27
authored
Mar 24, 2003
by
Götz Lindenmaier
Browse files
obstack access function
[r958]
parent
9dcca8a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgraph.c
View file @
362faf27
...
...
@@ -415,6 +415,13 @@ set_irg_n_loc (ir_graph *irg, int n_loc)
#endif
}
/* Returns the obstack associated with the graph. */
struct
obstack
get_irg_obstack
(
ir_graph
*
irg
)
{
return
irg
->
obst
;
}
irg_phase_state
get_irg_phase_state
(
ir_graph
*
irg
)
{
return
irg
->
phase_state
;
...
...
ir/ir/irgraph_t.h
View file @
362faf27
...
...
@@ -87,4 +87,7 @@ ir_graph *new_const_code_irg(void);
INLINE
void
set_irg_pinned
(
ir_graph
*
irg
,
op_pinned
p
);
/** Returns the obstack associated with the graph. */
struct
obstack
get_irg_obstack
(
ir_graph
*
irg
);
# endif
/* _IRGRAPH_T_H_ */
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