Commit 362faf27 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

obstack access function

[r958]
parent 9dcca8a4
......@@ -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;
......
......@@ -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_ */
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